From 8dded4207e0ac15662614f7af9290b839211fd54 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Wed, 4 Oct 2023 17:24:34 -0400 Subject: [PATCH 01/10] build: use `openapi-typescript@next` --- package-lock.json | 201 +- package.json | 5 +- .../openapi-webhooks-types-ghec/types.d.ts | 10415 ++++++++++------ .../types.d.ts | 9689 ++++++++------ .../types.d.ts | 9225 +++++++++----- .../types.d.ts | 9269 +++++++++----- .../types.d.ts | 9528 ++++++++------ .../types.d.ts | 8869 ++++++++----- packages/openapi-webhooks-types/types.d.ts | 10360 +++++++++------ scripts/generate-types.js | 15 +- 10 files changed, 42334 insertions(+), 25242 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7240768..c1b1468 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,10 +13,11 @@ "deep-equal": "^2.0.5", "github-enterprise-server-versions": "^2.0.1", "lodash": "^4.17.21", - "openapi-typescript": "^6.2.1", + "openapi-typescript": "^7.0.0-next.0", "prettier": "^3.0.0", "semantic-release": "^22.0.0", - "semantic-release-plugin-update-version-in-files": "^1.1.0" + "semantic-release-plugin-update-version-in-files": "^1.1.0", + "typescript": "^5.2.2" }, "engines": { "node": ">=16" @@ -434,6 +435,64 @@ "node": ">=12" } }, + "node_modules/@redocly/ajv": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@redocly/ajv/-/ajv-8.11.0.tgz", + "integrity": "sha512-9GWx27t7xWhDIR02PA18nzBdLcKQRgc46xNQvjFkrYk4UOmvKhJ/dawwiX0cCOeetN5LcaaiqQbVOWYK62SGHw==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@redocly/openapi-core": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@redocly/openapi-core/-/openapi-core-1.2.0.tgz", + "integrity": "sha512-Ccft2n/JiF4u2crmj1cdDzPq6C40U7NgLZ+p/BxzAFXbfrddr/5FN0HMJPHT/op329qqv2P2jUrXsV2Bp+rzEQ==", + "dev": true, + "dependencies": { + "@redocly/ajv": "^8.11.0", + "@types/node": "^14.11.8", + "colorette": "^1.2.0", + "js-levenshtein": "^1.1.6", + "js-yaml": "^4.1.0", + "lodash.isequal": "^4.5.0", + "minimatch": "^5.0.1", + "node-fetch": "^2.6.1", + "pluralize": "^8.0.0", + "yaml-ast-parser": "0.0.43" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@redocly/openapi-core/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@redocly/openapi-core/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/@semantic-release/commit-analyzer": { "version": "11.0.0", "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-11.0.0.tgz", @@ -569,6 +628,12 @@ "url": "https://github.com/sindresorhus/is?sponsor=1" } }, + "node_modules/@types/node": { + "version": "14.18.63", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", + "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==", + "dev": true + }, "node_modules/@types/normalize-package-data": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.2.tgz", @@ -740,18 +805,6 @@ "node": ">=8" } }, - "node_modules/busboy": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", - "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", - "dev": true, - "dependencies": { - "streamsearch": "^1.1.0" - }, - "engines": { - "node": ">=10.16.0" - } - }, "node_modules/call-bind": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", @@ -870,6 +923,12 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, + "node_modules/colorette": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz", + "integrity": "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==", + "dev": true + }, "node_modules/compare-func": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", @@ -1276,6 +1335,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, "node_modules/fast-glob": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", @@ -2183,6 +2248,15 @@ "node": ">= 0.6.0" } }, + "node_modules/js-levenshtein": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.6.tgz", + "integrity": "sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -2213,6 +2287,12 @@ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", "dev": true }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, "node_modules/json-stringify-safe": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", @@ -2329,6 +2409,12 @@ "integrity": "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==", "dev": true }, + "node_modules/lodash.isequal": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", + "integrity": "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==", + "dev": true + }, "node_modules/lodash.isplainobject": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", @@ -5977,16 +6063,15 @@ } }, "node_modules/openapi-typescript": { - "version": "6.6.2", - "resolved": "https://registry.npmjs.org/openapi-typescript/-/openapi-typescript-6.6.2.tgz", - "integrity": "sha512-UWeaFmRpiEFAx+LMHhEGs51pXjjToqauUTJOU0ad1RrivCO+mlerUwe2MAxOWDBnqU05UtkGndyij97sbImXuA==", + "version": "7.0.0-next.0", + "resolved": "https://registry.npmjs.org/openapi-typescript/-/openapi-typescript-7.0.0-next.0.tgz", + "integrity": "sha512-CFiqZ9G/ERwmiPYOC5F0eGhaJQaJ1pZG7q2Ua7bmUNGgVi+7ehhfj6B1/5Q8rpFIDt0imqLsPU3JjOKmwg7rUw==", "dev": true, "dependencies": { + "@redocly/openapi-core": "^1.2.0", "ansi-colors": "^4.1.3", - "fast-glob": "^3.3.1", - "js-yaml": "^4.1.0", "supports-color": "^9.4.0", - "undici": "^5.23.0", + "typescript": "^5.2.2", "yargs-parser": "^21.1.1" }, "bin": { @@ -6284,6 +6369,15 @@ "node": ">=4" } }, + "node_modules/pluralize": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", + "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, "node_modules/prettier": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", @@ -6311,6 +6405,15 @@ "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==", "dev": true }, + "node_modules/punycode": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -6522,6 +6625,15 @@ "node": ">=0.10.0" } }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/resolve-from": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", @@ -6936,15 +7048,6 @@ "readable-stream": "^2.0.2" } }, - "node_modules/streamsearch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", - "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==", - "dev": true, - "engines": { - "node": ">=10.0.0" - } - }, "node_modules/string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", @@ -7153,6 +7256,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/typescript": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "node_modules/uglify-js": { "version": "3.17.4", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", @@ -7166,18 +7282,6 @@ "node": ">=0.8.0" } }, - "node_modules/undici": { - "version": "5.25.2", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.25.2.tgz", - "integrity": "sha512-tch8RbCfn1UUH1PeVCXva4V8gDpGAud/w0WubD6sHC46vYQ3KDxL+xv1A2UxK0N6jrVedutuPHxe1XIoqerwMw==", - "dev": true, - "dependencies": { - "busboy": "^1.6.0" - }, - "engines": { - "node": ">=14.0" - } - }, "node_modules/unicode-emoji-modifier-base": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unicode-emoji-modifier-base/-/unicode-emoji-modifier-base-1.0.0.tgz", @@ -7217,6 +7321,15 @@ "node": ">= 10.0.0" } }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, "node_modules/url-join": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/url-join/-/url-join-5.0.0.tgz", @@ -7376,6 +7489,12 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, + "node_modules/yaml-ast-parser": { + "version": "0.0.43", + "resolved": "https://registry.npmjs.org/yaml-ast-parser/-/yaml-ast-parser-0.0.43.tgz", + "integrity": "sha512-2PTINUwsRqSd+s8XxKaJWQlUuEMHJQyEuh2edBbW8KNJz0SJPwUSD2zRWqezFEdN7IzAgeuYHFUCF7o8zRdZ0A==", + "dev": true + }, "node_modules/yargs": { "version": "17.7.2", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", diff --git a/package.json b/package.json index c1f3ab0..08bcdfe 100644 --- a/package.json +++ b/package.json @@ -28,10 +28,11 @@ "deep-equal": "^2.0.5", "github-enterprise-server-versions": "^2.0.1", "lodash": "^4.17.21", - "openapi-typescript": "^6.2.1", + "openapi-typescript": "^7.0.0-next.0", "prettier": "^3.0.0", "semantic-release": "^22.0.0", - "semantic-release-plugin-update-version-in-files": "^1.1.0" + "semantic-release-plugin-update-version-in-files": "^1.1.0", + "typescript": "^5.2.2" }, "engines": { "node": ">=16" diff --git a/packages/openapi-webhooks-types-ghec/types.d.ts b/packages/openapi-webhooks-types-ghec/types.d.ts index 4794b6d..de7614b 100644 --- a/packages/openapi-webhooks-types-ghec/types.d.ts +++ b/packages/openapi-webhooks-types-ghec/types.d.ts @@ -1,2591 +1,5684 @@ -/** - * This file was auto-generated by openapi-typescript. - * Do not make direct changes to the file. - */ - -/** OneOf type helpers */ -type Without = { [P in Exclude]?: never }; -type XOR = T | U extends object - ? (Without & U) | (Without & T) - : T | U; -type OneOf = T extends [infer Only] - ? Only - : T extends [infer A, infer B, ...infer Rest] - ? OneOf<[XOR, ...Rest]> - : never; - export type paths = Record; - export interface webhooks { "branch-protection-configuration-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is a change to branch protection configurations for a repository. - * For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." - * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)" in the REST API documentation. + * For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." + * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description All branch protections were disabled for a repository. */ post: operations["branch-protection-configuration/disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-configuration-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is a change to branch protection configurations for a repository. - * For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." - * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)" in the REST API documentation. + * For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." + * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description All branch protections were enabled for a repository. */ post: operations["branch-protection-configuration/enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-rule-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was created. */ post: operations["branch-protection-rule/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-rule-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was deleted. */ post: operations["branch-protection-rule/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-rule-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was edited. */ post: operations["branch-protection-rule/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run was completed, and a conclusion is available. */ post: operations["check-run/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A new check run was created. */ post: operations["check-run/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-requested-action": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-cloud@latest//developers/apps/guides/creating-ci-tests-with-the-checks-api)." */ post: operations["check-run/requested-action"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. */ post: operations["check-run/rerequested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description All check runs in a check suite have completed, and a conclusion is available. */ post: operations["check-suite/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-cloud@latest//graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run)" in the REST API documentation. */ post: operations["check-suite/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-cloud@latest//graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite)" in the REST API documentation. */ post: operations["check-suite/rerequested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-appeared-in-branch": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. */ post: operations["code-scanning-alert/appeared-in-branch"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-closed-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone closed a code scanning alert. */ post: operations["code-scanning-alert/closed-by-user"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was created in a repository. */ post: operations["code-scanning-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was fixed in a branch by a commit. */ post: operations["code-scanning-alert/fixed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously fixed code scanning alert reappeared in a branch. */ post: operations["code-scanning-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-reopened-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone reopened a code scanning alert. */ post: operations["code-scanning-alert/reopened-by-user"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "commit-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-cloud@latest//rest/commits/comments)" in the REST API documentation. * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. + * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description Someone commented on a commit. */ post: operations["commit-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; create: { - /** - * This event occurs when a Git branch or tag is created. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a Git branch or tag is created. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ + * **Notes**: + * - This event will not occur when more than three tags are created at once. + * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. */ post: operations["create"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; delete: { - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including + * branch and tag deletions, use the [`push`](#push) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Note**: This event will not occur when more than three tags are deleted at once. - */ + * **Note**: This event will not occur when more than three tags are deleted at once. */ post: operations["delete"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-auto-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was automatically closed. */ post: operations["dependabot-alert/auto-dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-auto-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was automatically reopened. */ post: operations["dependabot-alert/auto-reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-reintroduced": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deploy-key-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-cloud@latest//developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was created. */ post: operations["deploy-key/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deploy-key-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-cloud@latest//developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was deleted. */ post: operations["deploy-key/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment status, use the `deployment_status` event. + * For activity relating to deployment status, use the `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment was created. */ post: operations["deployment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-protection-rule-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment protection rules. For more information, see "[Using environments for deployment](https://docs.github.com/enterprise-cloud@latest//actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules)." For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments). * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment protection rule was requested for an environment. */ post: operations["deployment-protection-rule/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-approved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was approved. */ post: operations["deployment-review/approved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-rejected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was rejected. */ post: operations["deployment-review/rejected"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was requested. */ post: operations["deployment-review/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-status-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation, use the `deployment` event. + * For activity relating to deployment creation, use the `deployment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A new deployment status was created. */ post: operations["deployment-status/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-answered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-category-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was closed. */ post: operations["discussion/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was created. */ post: operations["discussion/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was deleted. */ post: operations["discussion/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was locked. */ post: operations["discussion/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was pinned. */ post: operations["discussion/pinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was reopened. */ post: operations["discussion/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unanswered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; fork: { - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-cloud@latest//get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-cloud@latest//rest/repos/forks)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-cloud@latest//get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-cloud@latest//rest/repos/forks)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["fork"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "github-app-authorization-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. + * A GitHub App receives this webhook by default and cannot unsubscribe from this event. * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." + * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." * @description Someone revoked their authorization of a GitHub App. */ post: operations["github-app-authorization/revoked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; gollum: { - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-cloud@latest//communities/documenting-your-project-with-wikis/about-wikis)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-cloud@latest//communities/documenting-your-project-with-wikis/about-wikis)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["gollum"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. * @description Someone installed a GitHub App on a user or organization account. */ post: operations["installation/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. * @description Someone uninstalled a GitHub App from their user or organization account. */ post: operations["installation/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-new-permissions-accepted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. * @description Someone granted new permissions to a GitHub App. */ post: operations["installation/new-permissions-accepted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-repositories-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. * @description A GitHub App installation was granted access to one or more repositories. */ post: operations["installation-repositories/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-repositories-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. * @description Access to one or more repositories was revoked for a GitHub App installation. */ post: operations["installation-repositories/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-suspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. * @description Someone blocked access by a GitHub App to their user or organization account. */ post: operations["installation/suspend"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-target-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. * @description Somebody renamed the user or organization account that a GitHub App is installed on. */ post: operations["installation-target/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-unsuspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. */ post: operations["installation/unsuspend"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-cloud@latest//rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-cloud@latest//rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was created. */ post: operations["issue-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-cloud@latest//rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-cloud@latest//rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was deleted. */ post: operations["issue-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-cloud@latest//rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-cloud@latest//rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was edited. */ post: operations["issue-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was assigned to a user. */ post: operations["issues/assigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was closed. */ post: operations["issues/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was deleted. */ post: operations["issues/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was removed from a milestone. */ post: operations["issues/demilestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description The title or body on an issue was edited. */ post: operations["issues/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was added to an issue. */ post: operations["issues/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was added to a milestone. */ post: operations["issues/milestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. */ post: operations["issues/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/pinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A closed issue was reopened. */ post: operations["issues/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." */ post: operations["issues/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A user was unassigned from an issue. */ post: operations["issues/unassigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was removed from an issue. */ post: operations["issues/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/unpinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was created. */ post: operations["label/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was deleted. */ post: operations["label/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label's name, description, or color was changed. */ post: operations["label/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "marketplace-purchase-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)" in the REST API documentation. * @description Someone cancelled a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately. */ post: operations["marketplace-purchase/cancelled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "marketplace-purchase-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)" in the REST API documentation. * @description Someone upgraded or downgraded a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately. */ post: operations["marketplace-purchase/changed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "marketplace-purchase-pending-change": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)" in the REST API documentation. * @description Someone downgraded or cancelled a GitHub Marketplace plan. The new plan or cancellation will take effect at the end of the current billing cycle. When the change takes effect, the `changed` or `cancelled` event will be sent. */ post: operations["marketplace-purchase/pending-change"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "marketplace-purchase-pending-change-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)" in the REST API documentation. * @description Someone cancelled a pending change to a GitHub Marketplace plan. Pending changes include plan cancellations and downgrades that will take effect at the end of a billing cycle. */ post: operations["marketplace-purchase/pending-change-cancelled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "marketplace-purchase-purchased": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)" in the REST API documentation. * @description Someone purchased a GitHub Marketplace plan. The change will take effect on the account immediately. */ post: operations["marketplace-purchase/purchased"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A GitHub user accepted an invitation to a repository. */ post: operations["member/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description Permissions were changed for a collaborator on a repository. */ post: operations["member/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A collaborator was removed from a repository. */ post: operations["member/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "membership-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-cloud@latest//rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was added to a team. */ post: operations["membership/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "membership-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-cloud@latest//rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was removed from a team. */ post: operations["membership/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "merge-group-checks-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a merge group in a merge queue. For more information, see "[Managing a merge queue](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Merge queues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Merge queues" repository permission. * @description Status checks were requested for a merge group. This happens when a merge group is created or added to by the merge queue because a pull request was queued. * - * When you receive this event, you should perform checks on the head SHA and report status back using check runs or commit statuses. + * When you receive this event, you should perform checks on the head SHA and report status back using check runs or commit statuses. */ post: operations["merge-group/checks-requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "merge-group-destroyed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a merge group in a merge queue. For more information, see "[Managing a merge queue](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Merge queues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Merge queues" repository permission. * @description The merge queue groups pull requests together to be merged. This event indicates that one of those merge groups was destroyed. This happens when a pull request is removed from the queue: any group containing that pull request is also destroyed. * - * When you receive this event, you may want to cancel any checks that are running on the head SHA to avoid wasting computing resources on a merge group that will not be used. + * When you receive this event, you may want to cancel any checks that are running on the head SHA to avoid wasting computing resources on a merge group that will not be used. */ post: operations["merge-group/destroyed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "meta-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a webhook itself. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. * @description The webhook was deleted. */ post: operations["meta/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was closed. */ post: operations["milestone/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was created. */ post: operations["milestone/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was deleted. */ post: operations["milestone/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was edited. */ post: operations["milestone/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was opened. */ post: operations["milestone/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "org-block-blocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see "[Blocking a user from your organization](https://docs.github.com/enterprise-cloud@latest//communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization)." For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#userblockedevent) or "[Blocking users](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking)" in the REST API documentation. * - * If you want to receive an event when members are added or removed from an organization, use the `organization` event instead. + * If you want to receive an event when members are added or removed from an organization, use the `organization` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" organization permission. * @description A user was blocked from the organization. */ post: operations["org-block/blocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "org-block-unblocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see "[Blocking a user from your organization](https://docs.github.com/enterprise-cloud@latest//communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization)." For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#userblockedevent) or "[Blocking users](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking)" in the REST API documentation. * - * If you want to receive an event when members are added or removed from an organization, use the `organization` event instead. + * If you want to receive an event when members are added or removed from an organization, use the `organization` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" organization permission. * @description A previously blocked user was unblocked from the organization. */ post: operations["org-block/unblocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization was deleted. */ post: operations["organization/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member accepted an invitation to join an organization. */ post: operations["organization/member-added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-invited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was invited to join the organization. */ post: operations["organization/member-invited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was removed from the organization. */ post: operations["organization/member-removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name of an organization was changed. */ post: operations["organization/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A package was published to a registry. */ post: operations["package/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A previously published package was updated. */ post: operations["package/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "page-build": { - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-cloud@latest//pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-cloud@latest//rest/pages)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-cloud@latest//pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-cloud@latest//rest/pages)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. */ post: operations["page-build"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "personal-access-token-request-approved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was approved. */ post: operations["personal-access-token-request/approved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "personal-access-token-request-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was cancelled by the requester. */ post: operations["personal-access-token-request/cancelled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "personal-access-token-request-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was created. */ post: operations["personal-access-token-request/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "personal-access-token-request-denied": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was denied. */ post: operations["personal-access-token-request/denied"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; ping: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ post: operations["ping"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note in a classic project was converted to an issue. */ post: operations["project-card/converted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card was added to a classic project. */ post: operations["project-card/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a classic project was deleted. */ post: operations["project-card/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note on a classic project was edited. */ post: operations["project-card/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a classic project was moved to another column or to another position in its column. */ post: operations["project-card/moved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was closed. */ post: operations["project/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was added to a classic project. */ post: operations["project-column/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was deleted from a classic project. */ post: operations["project-column/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name of a column on a classic project was changed. */ post: operations["project-column/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was moved to a new position on a classic project. */ post: operations["project-column/moved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was created. */ post: operations["project/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was deleted. */ post: operations["project/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name or description of a classic project was changed. */ post: operations["project/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was closed. */ post: operations["project/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was closed. */ post: operations["projects-v2/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was created. */ post: operations["projects-v2/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was deleted. */ post: operations["projects-v2/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The title, description, or README of a project in the organization was changed. */ post: operations["projects-v2/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/archived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A draft issue in an organization project was converted to an issue. */ post: operations["projects-v2-item/converted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was added to a project in the organization. */ post: operations["projects-v2-item/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was deleted from a project in the organization. */ post: operations["projects-v2-item/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. */ post: operations["projects-v2-item/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-reordered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. */ post: operations["projects-v2-item/reordered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-restored": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/restored"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was reopened. */ post: operations["projects-v2/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; public: { - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. */ post: operations["public"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was assigned to a user. */ post: operations["pull-request/assigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-auto-merge-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-auto-merge-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. */ post: operations["pull-request/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-converted-to-draft": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/converted-to-draft"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was removed from a milestone. */ post: operations["pull-request/demilestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-dequeued": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was removed from the merge queue. */ post: operations["pull-request/dequeued"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The title or body of a pull request was edited. */ post: operations["pull-request/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-enqueued": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was added to the merge queue. */ post: operations["pull-request/enqueued"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was added to a pull request. */ post: operations["pull-request/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was added to a milestone. */ post: operations["pull-request/milestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was created */ post: operations["pull-request/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-ready-for-review": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/ready-for-review"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously closed pull request was reopened. */ post: operations["pull-request/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was created. */ post: operations["pull-request-review-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was deleted. */ post: operations["pull-request-review-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The content of a comment on a pull request diff was changed. */ post: operations["pull-request-review-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was dismissed. */ post: operations["pull-request-review/dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The body comment on a pull request review was edited. */ post: operations["pull-request-review/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-request-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A request for review by a person or team was removed from a pull request. */ post: operations["pull-request/review-request-removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." */ post: operations["pull-request/review-requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-submitted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was submitted. */ post: operations["pull-request-review/submitted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-thread-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment thread on a pull request was marked as resolved. */ post: operations["pull-request-review-thread/resolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-thread-unresolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously resolved comment thread on a pull request was marked as unresolved. */ post: operations["pull-request-review-thread/unresolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-synchronize": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. */ post: operations["pull-request/synchronize"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A user was unassigned from a pull request. */ post: operations["pull-request/unassigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was removed from a pull request. */ post: operations["pull-request/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; push: { - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, + * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch + * and tag deletions, use the [`delete`](#delete) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Note**: An event will not be created when more than three tags are pushed at once. - */ + * **Note**: An event will not be created when more than three tags are pushed at once. */ post: operations["push"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "registry-package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * **Note**: GitHub recommends that you use the newer `package` event instead. + * **Note**: GitHub recommends that you use the newer `package` event instead. * @description A package was published to a registry. */ post: operations["registry-package/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "registry-package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * **Note**: GitHub recommends that you use the newer `package` event instead. + * **Note**: GitHub recommends that you use the newer `package` event instead. * @description A package that was previously published to a registry was updated. */ post: operations["registry-package/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. */ post: operations["release/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft release was deleted. */ post: operations["release/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." */ post: operations["release/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-prereleased": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. */ post: operations["release/prereleased"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft of a release was published. */ post: operations["release/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-released": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was published, or a pre-release was changed to a release. */ post: operations["release/released"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-unpublished": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release or pre-release was unpublished. */ post: operations["release/unpublished"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-advisory-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Repository security advisories" permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Repository security advisories" permission. * @description A repository security advisory was published. */ post: operations["repository-advisory/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-advisory-reported": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Repository security advisories" permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Repository security advisories" permission. * @description A private vulnerability report was submitted. */ post: operations["repository-advisory/reported"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was archived. */ post: operations["repository/archived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was created. */ post: operations["repository/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. */ post: operations["repository/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-dispatch-sample.collected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event). * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. */ post: operations["repository-dispatch/sample.collected"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The topics, default branch, description, or homepage of a repository was changed. */ post: operations["repository/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-import": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** This event occurs when a repository is imported to GitHub Enterprise Cloud. For more information, see "[Importing a repository with GitHub Importer](https://docs.github.com/enterprise-cloud@latest//get-started/importing-your-projects-to-github/importing-source-code-to-github/importing-a-repository-with-github-importer)." For more information about the API to manage imports, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports). */ post: operations["repository-import"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-privatized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `private`. */ post: operations["repository/privatized"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-publicized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `public`. */ post: operations["repository/publicized"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The name of a repository was changed. */ post: operations["repository/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-ruleset-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation." + * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." + * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A repository ruleset was created. */ post: operations["repository-ruleset/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-ruleset-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation." + * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." + * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A repository ruleset was deleted. */ post: operations["repository-ruleset/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-ruleset-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation." + * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." + * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A repository ruleset was edited. */ post: operations["repository-ruleset/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. */ post: operations["repository/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-unarchived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A previously archived repository was unarchived. */ post: operations["repository/unarchived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-create": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was created. */ post: operations["repository-vulnerability-alert/create"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-dismiss": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was dismissed. */ post: operations["repository-vulnerability-alert/dismiss"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-reopen": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A previously dismissed or resolved repository vulnerability alert was reopened. */ post: operations["repository-vulnerability-alert/reopen"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-resolve": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was marked as resolved. */ post: operations["repository-vulnerability-alert/resolve"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was created. */ post: operations["secret-scanning-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-location-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. + * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. + * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. */ post: operations["secret-scanning-alert-location/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A previously closed secret scanning alert was reopened. */ post: operations["secret-scanning-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was closed. */ post: operations["secret-scanning-alert/resolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was marked as revoked. */ post: operations["secret-scanning-alert/revoked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description A security advisory was published to the GitHub community. */ post: operations["security-advisory/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. */ post: operations["security-advisory/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-withdrawn": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description A previously published security advisory was withdrawn. */ post: operations["security-advisory/withdrawn"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-and-analysis": { - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-cloud@latest//code-security/getting-started/github-security-features)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-cloud@latest//code-security/getting-started/github-security-features)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. */ post: operations["security-and-analysis"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsorship was cancelled and the last billing cycle has ended. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/cancelled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. */ post: operations["sponsorship/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. */ post: operations["sponsorship/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-pending-cancellation": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/pending-cancellation"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-pending-tier-change": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. */ post: operations["sponsorship/pending-tier-change"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-tier-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. */ post: operations["sponsorship/tier-changed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "star-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-cloud@latest//get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-cloud@latest//rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone starred a repository. */ post: operations["star/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "star-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-cloud@latest//get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-cloud@latest//rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone unstarred the repository. */ post: operations["star/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; status: { - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. */ post: operations["status"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-add": { - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a team is added to a repository. + * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." * - * For activity relating to teams, see the `teams` event. + * For activity relating to teams, see the `teams` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. */ post: operations["team-add"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-added-to-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was granted access to a repository. */ post: operations["team/added-to-repository"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was created. */ post: operations["team/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was deleted. */ post: operations["team/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name, description, or visibility of a team was changed. */ post: operations["team/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-removed-from-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team's access to a repository was removed. */ post: operations["team/removed-from-repository"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "user-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was added to the enterprise. */ post: operations["user/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "user-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was removed from the enterprise. */ post: operations["user/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "watch-started": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-cloud@latest//account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-cloud@latest//rest/activity/watching)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone started watching the repository. */ post: operations["watch/started"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-dispatch": { - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-cloud@latest//actions/managing-workflow-runs/manually-running-a-workflow)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-cloud@latest//actions/managing-workflow-runs/manually-running-a-workflow)." * - * For activity relating to workflow runs, use the `workflow_run` event. + * For activity relating to workflow runs, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["workflow-dispatch"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. */ post: operations["workflow-job/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run started processing on a runner. */ post: operations["workflow-job/in-progress"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-queued": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run was created. */ post: operations["workflow-job/queued"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-waiting": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run was created and is waiting for approvals. */ post: operations["workflow-job/waiting"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. */ post: operations["workflow-run/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run started processing on a runner. */ post: operations["workflow-run/in-progress"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run was triggered. */ post: operations["workflow-run/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; } - export interface components { schemas: { /** branch protection configuration disabled event */ @@ -2601,8 +5694,9 @@ export interface components { /** * Enterprise * @description An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured - * on an enterprise account or an organization that's part of an enterprise account. For more information, - * see "[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts)." + * on an enterprise account or an organization that's part of an enterprise account. For more information, + * see "[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts)." + * */ "enterprise-webhooks": { /** @description A short description of the enterprise. */ @@ -2631,8 +5725,8 @@ export interface components { /** * Simple Installation * @description The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured - * for and sent to a GitHub App. For more information, - * see "[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + * for and sent to a GitHub App. For more information, + * see "[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." */ "simple-installation": { /** @description The ID of the installation. */ @@ -2643,7 +5737,7 @@ export interface components { /** * Organization Simple * @description A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an - * organization, or when the event occurs from activity in a repository owned by an organization. + * organization, or when the event occurs from activity in a repository owned by an organization. */ "organization-simple-webhooks": { login: string; @@ -2665,7 +5759,7 @@ export interface components { /** * Repository * @description The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property - * when the event occurs from activity in a repository. + * when the event occurs from activity in a repository. */ "repository-webhooks": { /** @description Unique identifier of the repository */ @@ -2767,7 +5861,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template?: boolean; + is_template: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -2794,7 +5888,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; /** * @description Whether the repository is archived. * @default false @@ -2806,7 +5900,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility?: string; + visibility: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -2817,7 +5911,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; template_repository?: { id?: number; node_id?: string; @@ -2927,34 +6021,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -2967,59 +6061,59 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch?: boolean; + allow_update_branch: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -3027,14 +6121,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required?: boolean; + web_commit_signoff_required: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -3467,9 +6561,9 @@ export interface components { /** * @description The set of permissions for the GitHub app * @example { - * "issues": "read", - * "deployments": "write" - * } + * "issues": "read", + * "deployments": "write" + * } */ permissions: { issues?: string; @@ -3477,7 +6571,7 @@ export interface components { metadata?: string; contents?: string; deployments?: string; - [key: string]: string | undefined; + [key: string]: string; }; /** @description The list of events for the GitHub app */ events: string[]; @@ -5527,10 +8621,10 @@ export interface components { * @description The state of the Dependabot alert. * @enum {string} */ - state: "auto_dismissed" | "dismissed" | "fixed" | "open"; + readonly state: "auto_dismissed" | "dismissed" | "fixed" | "open"; /** @description Details for the vulnerable dependency. */ - dependency: { - readonly package?: components["schemas"]["dependabot-alert-package"]; + readonly dependency: { + package?: components["schemas"]["dependabot-alert-package"]; /** @description The full path to the dependency manifest file, relative to the root of the repository. */ readonly manifest_path?: string; /** @@ -5564,16 +8658,16 @@ export interface components { auto_dismissed_at?: components["schemas"]["alert-auto-dismissed-at"]; }; /** @description The security alert number. */ - readonly "alert-number": number; + "alert-number": number; /** @description Details for the vulnerable package. */ - readonly "dependabot-alert-package": { + "dependabot-alert-package": { /** @description The package's language or package management ecosystem. */ readonly ecosystem: string; /** @description The unique package name within its ecosystem. */ readonly name: string; }; /** @description Details for the GitHub Security Advisory. */ - readonly "dependabot-alert-security-advisory": { + "dependabot-alert-security-advisory": { /** @description The unique GitHub Security Advisory ID assigned to the advisory. */ readonly ghsa_id: string; /** @description The unique CVE ID assigned to the advisory. */ @@ -5583,7 +8677,7 @@ export interface components { /** @description A long-form Markdown-supported description of the advisory. */ readonly description: string; /** @description Vulnerable version range information for the advisory. */ - readonly vulnerabilities: readonly components["schemas"]["dependabot-alert-security-vulnerability"][]; + readonly vulnerabilities: components["schemas"]["dependabot-alert-security-vulnerability"][]; /** * @description The severity of the advisory. * @enum {string} @@ -5597,14 +8691,14 @@ export interface components { readonly vector_string: string | null; }; /** @description Details for the advisory pertaining to Common Weakness Enumeration. */ - readonly cwes: readonly { + readonly cwes: { /** @description The unique CWE ID. */ readonly cwe_id: string; /** @description The short, plain text name of the CWE. */ readonly name: string; }[]; /** @description Values that identify this advisory among security information sources. */ - readonly identifiers: readonly { + readonly identifiers: { /** * @description The type of advisory identifier. * @enum {string} @@ -5614,7 +8708,7 @@ export interface components { readonly value: string; }[]; /** @description Links to additional advisory information. */ - readonly references: readonly { + readonly references: { /** * Format: uri * @description The URL of the reference. @@ -5638,8 +8732,8 @@ export interface components { readonly withdrawn_at: string | null; }; /** @description Details pertaining to one vulnerable version range for the advisory. */ - readonly "dependabot-alert-security-vulnerability": { - readonly package: components["schemas"]["dependabot-alert-package"]; + "dependabot-alert-security-vulnerability": { + package: components["schemas"]["dependabot-alert-package"]; /** * @description The severity of the vulnerability. * @enum {string} @@ -5657,37 +8751,37 @@ export interface components { * Format: uri * @description The REST API URL of the alert resource. */ - readonly "alert-url": string; + "alert-url": string; /** * Format: uri * @description The GitHub URL of the alert resource. */ - readonly "alert-html-url": string; + "alert-html-url": string; /** * Format: date-time * @description The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-created-at": string; + "alert-created-at": string; /** * Format: date-time * @description The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-updated-at": string; + "alert-updated-at": string; /** * Format: date-time * @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-dismissed-at": string | null; + "alert-dismissed-at": string | null; /** * Format: date-time * @description The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-fixed-at": string | null; + "alert-fixed-at": string | null; /** * Format: date-time * @description The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-auto-dismissed-at": string | null; + "alert-auto-dismissed-at": string | null; /** Dependabot alert auto-reopened event */ "webhook-dependabot-alert-auto-reopened": { /** @enum {string} */ @@ -6406,14 +9500,11 @@ export interface components { ref: string; /** @description Parameter to specify a task to execute */ task: string; - payload: OneOf< - [ - { + payload: + | { [key: string]: unknown; - }, - string, - ] - >; + } + | string; original_environment?: string; /** @description Name for the target deployment environment. */ environment: string; @@ -8247,7 +11338,8 @@ export interface components { id: number; node_id: string; original_environment: string; - payload: string | Record | null; + payload: (null | Record) & + (string | Record); /** * App * @description GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. @@ -9201,8 +12293,8 @@ export interface components { repository_url: string; /** * @description The current state of the discussion. - * `converting` means that the discussion is being converted from an issue. - * `transferring` means that the discussion is being transferred from another repository. + * `converting` means that the discussion is being converted from an issue. + * `transferring` means that the discussion is being transferred from another repository. * @enum {string} */ state: "open" | "closed" | "locked" | "converting" | "transferring"; @@ -10026,24 +13118,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -10079,7 +13171,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -10218,7 +13310,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -10462,11 +13554,15 @@ export interface components { /** @description The ID of the installation. */ id: number; account: - | null | ( - | components["schemas"]["simple-user"] - | components["schemas"]["enterprise"] - ); + | null + | ( + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"] + ) + ) + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"]; /** * @description Describe whether all repositories have been selected or there's a selection involved * @enum {string} @@ -10529,11 +13625,11 @@ export interface components { * App Permissions * @description The permissions granted to the user access token. * @example { - * "contents": "read", - * "issues": "read", - * "deployments": "write", - * "single_file": "read" - * } + * "contents": "read", + * "issues": "read", + * "deployments": "write", + * "single_file": "read" + * } */ "app-permissions": { /** @@ -17975,24 +21071,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -18028,7 +21124,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -18169,7 +21265,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -20182,24 +23278,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -20235,7 +23331,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -20379,7 +23475,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -23915,6 +27011,7 @@ export interface components { /** * Merge Group * @description A group of pull requests that the merge queue has grouped together to be merged. + * */ "merge-group": { /** @description The SHA of the merge group. */ @@ -25078,19 +28175,16 @@ export interface components { | { id?: number | string; name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -26689,22 +29783,19 @@ export interface components { "webhook-projects-v2-item-edited": { /** @enum {string} */ action: "edited"; - changes?: OneOf< - [ - { + changes?: + | { field_value: { field_node_id?: string; field_type?: string; }; - }, - { + } + | { body: { from?: string | null; to?: string | null; }; - }, - ] - >; + }; installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; @@ -27008,24 +30099,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -27061,7 +30152,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -27145,17 +30236,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -27222,7 +30313,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -27230,9 +30321,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -27242,8 +30333,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -27275,7 +30366,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -27351,24 +30442,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -27404,7 +30495,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -27488,17 +30579,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -27565,7 +30656,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -27573,9 +30664,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -27585,8 +30676,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -27618,7 +30709,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -27808,9 +30899,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -27845,8 +30935,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -27896,9 +30986,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -28220,24 +31309,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -28273,7 +31362,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28357,17 +31446,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -28434,7 +31523,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -28442,9 +31531,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -28454,8 +31543,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28487,7 +31576,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -28563,24 +31652,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -28616,7 +31705,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28700,17 +31789,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -28777,7 +31866,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -28785,9 +31874,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -28797,8 +31886,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28830,7 +31919,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -29020,9 +32109,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -29057,8 +32145,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -29108,9 +32196,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -29433,24 +32520,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29486,7 +32573,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29570,17 +32657,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -29647,7 +32734,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -29655,9 +32742,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -29667,8 +32754,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29700,7 +32787,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -29776,24 +32863,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29829,7 +32916,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29913,17 +33000,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -29990,7 +33077,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -29998,9 +33085,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -30010,8 +33097,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30043,7 +33130,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30233,9 +33320,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -30270,8 +33356,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -30321,9 +33407,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -30449,41 +33534,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30491,7 +33576,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -30510,41 +33595,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30552,7 +33637,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -30769,24 +33854,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30822,7 +33907,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30906,17 +33991,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -30983,7 +34068,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -30991,9 +34076,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -31003,8 +34088,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31036,7 +34121,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31112,24 +34197,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31165,7 +34250,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31249,17 +34334,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -31326,7 +34411,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -31334,9 +34419,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -31346,8 +34431,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31379,7 +34464,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31569,9 +34654,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -31606,8 +34690,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -31657,9 +34741,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -31981,24 +35064,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32034,7 +35117,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32118,17 +35201,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32195,7 +35278,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32203,9 +35286,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32215,8 +35298,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -32248,7 +35331,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32324,24 +35407,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32377,7 +35460,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32461,17 +35544,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32538,7 +35621,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32546,9 +35629,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32558,8 +35641,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -32591,7 +35674,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32781,9 +35864,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -32818,8 +35900,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -32869,9 +35951,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -33016,41 +36097,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33058,7 +36139,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender?: components["schemas"]["simple-user-webhooks"]; @@ -33274,24 +36355,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33327,7 +36408,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33411,17 +36492,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -33488,7 +36569,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -33496,9 +36577,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -33508,8 +36589,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33541,7 +36622,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33617,24 +36698,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33670,7 +36751,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33754,17 +36835,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -33831,7 +36912,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -33839,9 +36920,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -33851,8 +36932,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33884,7 +36965,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -34074,9 +37155,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -34111,8 +37191,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -34162,9 +37242,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -34503,24 +37582,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34556,7 +37635,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34640,17 +37719,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -34717,7 +37796,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -34725,9 +37804,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -34737,8 +37816,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34770,7 +37849,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -34846,24 +37925,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34899,7 +37978,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34983,17 +38062,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -35060,7 +38139,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -35068,9 +38147,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -35080,8 +38159,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -35113,7 +38192,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35303,9 +38382,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -35340,8 +38418,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -35391,9 +38469,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -35716,24 +38793,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35769,7 +38846,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35853,17 +38930,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -35930,7 +39007,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -35938,9 +39015,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -35950,8 +39027,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -35983,7 +39060,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36059,24 +39136,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36112,7 +39189,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36196,17 +39273,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -36273,7 +39350,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -36281,9 +39358,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -36293,8 +39370,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -36326,7 +39403,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36516,9 +39593,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -36553,8 +39629,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -36604,9 +39680,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -36929,24 +40004,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36982,7 +40057,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37066,17 +40141,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -37143,7 +40218,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -37151,9 +40226,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -37163,8 +40238,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37196,7 +40271,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37272,24 +40347,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37325,7 +40400,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37409,17 +40484,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -37486,7 +40561,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -37494,9 +40569,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -37506,8 +40581,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37539,7 +40614,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37729,9 +40804,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -37766,8 +40840,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -37817,9 +40891,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -37944,41 +41017,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37986,7 +41059,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -38005,41 +41078,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -38047,7 +41120,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -38066,41 +41139,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -38108,7 +41181,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -38474,24 +41547,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38527,7 +41600,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38611,17 +41684,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -38688,7 +41761,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -38696,9 +41769,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -38708,8 +41781,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -38741,7 +41814,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38810,24 +41883,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38863,7 +41936,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38912,7 +41985,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; homepage: string | null; /** Format: uri */ hooks_url: string; @@ -38947,17 +42020,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -39024,7 +42097,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -39032,9 +42105,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -39044,8 +42117,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -39077,7 +42150,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39222,9 +42295,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -39259,8 +42331,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -39310,9 +42382,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -39778,24 +42849,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39831,7 +42902,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39915,17 +42986,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -39992,7 +43063,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -40000,9 +43071,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -40012,8 +43083,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -40045,7 +43116,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -40114,24 +43185,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40167,7 +43238,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40251,17 +43322,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -40328,7 +43399,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -40336,9 +43407,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -40348,8 +43419,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -40381,7 +43452,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -40526,9 +43597,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -40563,8 +43633,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -40614,9 +43684,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -41089,24 +44158,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41142,7 +44211,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41226,17 +44295,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41303,7 +44372,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41311,9 +44380,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -41323,8 +44392,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -41356,7 +44425,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41425,24 +44494,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41478,7 +44547,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41562,17 +44631,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41639,7 +44708,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41647,9 +44716,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -41659,8 +44728,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -41692,7 +44761,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41837,9 +44906,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -41874,8 +44942,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -41925,9 +44993,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -42241,24 +45308,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42294,7 +45361,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42378,17 +45445,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -42455,7 +45522,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42463,9 +45530,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -42475,8 +45542,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -42508,7 +45575,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42577,24 +45644,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42630,7 +45697,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42714,17 +45781,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -42791,7 +45858,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42799,9 +45866,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -42811,8 +45878,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -42844,7 +45911,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42989,9 +46056,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -43026,8 +46092,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -43077,9 +46143,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -43480,24 +46545,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43533,7 +46598,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43672,7 +46737,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -43767,24 +46832,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43820,7 +46885,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43959,7 +47024,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -44130,9 +47195,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -44167,8 +47231,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -44218,9 +47282,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -44406,9 +47469,8 @@ export interface components { sender: components["schemas"]["simple-user-webhooks"]; }; /** pull_request review_request_removed event */ - "webhook-pull-request-review-request-removed": OneOf< - [ - { + "webhook-pull-request-review-request-removed": + | { /** @enum {string} */ action: "review_request_removed"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -44619,24 +47681,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44672,7 +47734,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44756,17 +47818,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -44833,7 +47895,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -44879,7 +47941,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44955,24 +48017,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45008,7 +48070,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45092,17 +48154,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -45169,7 +48231,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -45177,9 +48239,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -45189,8 +48251,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -45222,7 +48284,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45412,9 +48474,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -45449,8 +48510,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -45500,9 +48561,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -45649,8 +48709,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_request_removed"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -45861,24 +48921,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45914,7 +48974,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45998,17 +49058,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -46075,7 +49135,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -46083,9 +49143,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -46095,8 +49155,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -46128,7 +49188,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46204,24 +49264,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46257,7 +49317,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46341,17 +49401,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -46418,7 +49478,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -46426,9 +49486,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -46438,8 +49498,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -46471,7 +49531,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46661,9 +49721,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -46698,8 +49757,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -46749,9 +49808,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -46916,13 +49974,10 @@ export interface components { url: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request review_requested event */ - "webhook-pull-request-review-requested": OneOf< - [ - { + "webhook-pull-request-review-requested": + | { /** @enum {string} */ action: "review_requested"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -47133,24 +50188,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47186,7 +50241,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47270,17 +50325,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -47347,7 +50402,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -47355,9 +50410,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -47367,8 +50422,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -47400,7 +50455,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -47476,24 +50531,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47529,7 +50584,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47613,17 +50668,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -47690,7 +50745,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -47698,9 +50753,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -47710,8 +50765,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -47743,7 +50798,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -47933,9 +50988,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -47970,8 +51024,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -48021,9 +51075,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -48170,8 +51223,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_requested"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -48382,24 +51435,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48435,7 +51488,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48519,17 +51572,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -48596,7 +51649,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -48604,9 +51657,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -48616,8 +51669,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -48649,7 +51702,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -48725,24 +51778,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48778,7 +51831,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48862,17 +51915,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -48939,7 +51992,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -48947,9 +52000,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -48959,8 +52012,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -48992,7 +52045,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -49182,9 +52235,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -49219,8 +52271,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -49270,9 +52322,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -49437,9 +52488,7 @@ export interface components { url?: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request_review submitted event */ "webhook-pull-request-review-submitted": { /** @enum {string} */ @@ -49649,24 +52698,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49702,7 +52751,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49786,17 +52835,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -49863,7 +52912,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -49871,9 +52920,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -49883,8 +52932,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -49916,7 +52965,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -49985,24 +53034,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50038,7 +53087,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50122,17 +53171,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -50199,7 +53248,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -50207,9 +53256,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -50219,8 +53268,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -50252,7 +53301,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -50397,9 +53446,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -50434,8 +53482,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -50485,9 +53533,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -50881,24 +53928,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50934,7 +53981,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51078,7 +54125,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -51175,24 +54222,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51228,7 +54275,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51372,7 +54419,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -51545,9 +54592,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -51582,8 +54628,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -51633,9 +54679,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -52101,24 +55146,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52154,7 +55199,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52298,7 +55343,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -52395,24 +55440,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52448,7 +55493,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52592,7 +55637,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -52765,9 +55810,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -52802,8 +55846,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -52853,9 +55897,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -53326,24 +56369,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53379,7 +56422,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53463,17 +56506,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -53540,7 +56583,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53548,9 +56591,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -53560,8 +56603,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -53593,7 +56636,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53669,24 +56712,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53722,7 +56765,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53876,7 +56919,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53884,9 +56927,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -53896,8 +56939,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -53929,7 +56972,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -54119,9 +57162,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -54156,8 +57198,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -54207,9 +57249,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -54569,24 +57610,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54622,7 +57663,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54706,17 +57747,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -54783,7 +57824,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -54791,9 +57832,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -54803,8 +57844,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -54836,7 +57877,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -54912,24 +57953,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54965,7 +58006,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -55049,17 +58090,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -55126,7 +58167,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -55134,9 +58175,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -55146,8 +58187,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -55179,7 +58220,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -55369,9 +58410,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -55406,8 +58446,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -55457,9 +58497,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -55798,24 +58837,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -55851,7 +58890,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -55935,17 +58974,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -56012,7 +59051,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -56020,9 +59059,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -56032,8 +59071,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -56065,7 +59104,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -56141,24 +59180,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -56194,7 +59233,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56348,7 +59387,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -56356,9 +59395,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -56368,8 +59407,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -56401,7 +59440,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -56591,9 +59630,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -56628,8 +59666,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -56679,9 +59717,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -57004,24 +60041,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -57057,7 +60094,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -57141,17 +60178,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -57218,7 +60255,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -57226,9 +60263,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -57238,8 +60275,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -57271,7 +60308,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -57347,24 +60384,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -57400,7 +60437,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -57484,17 +60521,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -57561,7 +60598,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -57569,9 +60606,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -57581,8 +60618,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -57614,7 +60651,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -57804,9 +60841,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -57841,8 +60877,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -57892,9 +60928,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -58149,24 +61184,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -58202,7 +61237,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -58346,7 +61381,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -58468,19 +61503,23 @@ export interface components { name?: string; version?: string; npm_user?: string; - author?: string | Record | null; - bugs?: string | Record | null; + author?: (null | Record) & + (string | Record); + bugs?: (null | Record) & + (string | Record); dependencies?: Record; dev_dependencies?: Record; peer_dependencies?: Record; optional_dependencies?: Record; description?: string; - dist?: string | Record | null; + dist?: (null | Record) & + (string | Record); git_head?: string; homepage?: string; license?: string; main?: string; - repository?: string | Record | null; + repository?: (null | Record) & + (string | Record); scripts?: Record; id?: string; node_version?: string; @@ -58493,7 +61532,8 @@ export interface components { files?: string[]; bin?: Record; man?: Record; - directories?: string | Record | null; + directories?: (null | Record) & + (string | Record); os?: string[]; cpu?: string[]; readme?: string; @@ -58505,21 +61545,19 @@ export interface components { } | null; nuget_metadata?: | { - id?: string | Record | number | null; + id?: (null | Record) & + (string | Record | number); name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -59956,7 +62994,7 @@ export interface components { /** @description A repository security advisory. */ "repository-advisory": { /** @description The GitHub Security Advisory ID. */ - ghsa_id: string; + readonly ghsa_id: string; /** @description The Common Vulnerabilities and Exposures (CVE) ID. */ cve_id: string | null; /** @description The API URL for the advisory. */ @@ -59965,7 +63003,7 @@ export interface components { * Format: uri * @description The URL for the advisory. */ - html_url: string; + readonly html_url: string; /** @description A short summary of the advisory. */ summary: string; /** @description A detailed description of what the advisory entails. */ @@ -59976,10 +63014,10 @@ export interface components { */ severity: "critical" | "high" | "medium" | "low" | null; /** @description The author of the advisory. */ - author: null; + readonly author: null & components["schemas"]["simple-user"]; /** @description The publisher of the advisory. */ - publisher: null; - identifiers: readonly { + readonly publisher: null & components["schemas"]["simple-user"]; + readonly identifiers: { /** * @description The type of identifier. * @enum {string} @@ -59997,28 +63035,28 @@ export interface components { * Format: date-time * @description The date and time of when the advisory was created, in ISO 8601 format. */ - created_at: string | null; + readonly created_at: string | null; /** * Format: date-time * @description The date and time of when the advisory was last updated, in ISO 8601 format. */ - updated_at: string | null; + readonly updated_at: string | null; /** * Format: date-time * @description The date and time of when the advisory was published, in ISO 8601 format. */ - published_at: string | null; + readonly published_at: string | null; /** * Format: date-time * @description The date and time of when the advisory was closed, in ISO 8601 format. */ - closed_at: string | null; + readonly closed_at: string | null; /** * Format: date-time * @description The date and time of when the advisory was withdrawn, in ISO 8601 format. */ - withdrawn_at: string | null; - submission: { + readonly withdrawn_at: string | null; + readonly submission: { /** @description Whether a private vulnerability report was accepted by the repository's administrators. */ readonly accepted: boolean; } | null; @@ -60029,14 +63067,14 @@ export interface components { /** @description The CVSS vector. */ vector_string: string | null; /** @description The CVSS score. */ - score: number | null; + readonly score: number | null; } | null; - cwes: - | readonly { + readonly cwes: + | { /** @description The Common Weakness Enumeration (CWE) identifier. */ cwe_id: string; /** @description The name of the CWE. */ - name: string; + readonly name: string; }[] | null; /** @description A list of only the CWE IDs. */ @@ -60048,15 +63086,15 @@ export interface components { type?: components["schemas"]["security-advisory-credit-types"]; }[] | null; - credits_detailed: - | readonly components["schemas"]["repository-advisory-credit"][] + readonly credits_detailed: + | components["schemas"]["repository-advisory-credit"][] | null; /** @description A list of users that collaborate on the advisory. */ collaborating_users: components["schemas"]["simple-user"][] | null; /** @description A list of teams that collaborate on the advisory. */ collaborating_teams: components["schemas"]["team"][] | null; /** @description A temporary private fork of the advisory's repository for collaborating on a fix. */ - private_fork: null; + readonly private_fork: null & components["schemas"]["simple-repository"]; }; /** @description A product affected by the vulnerability detailed in a repository security advisory. */ "repository-advisory-vulnerability": { @@ -60450,7 +63488,7 @@ export interface components { bypass_actors?: components["schemas"]["repository-ruleset-bypass-actor"][]; /** * @description The bypass type of the user making the API request for this ruleset. This field is only returned when - * querying the repository-level endpoint. + * querying the repository-level endpoint. * @enum {string} */ current_user_can_bypass?: "always" | "pull_requests_only" | "never"; @@ -60516,6 +63554,7 @@ export interface components { /** * Organization ruleset conditions * @description Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + * */ "org-ruleset-conditions": | (components["schemas"]["repository-ruleset-conditions"] & @@ -61737,34 +64776,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -61784,7 +64823,7 @@ export interface components { * @description Whether anonymous git access is allowed. * @default true */ - anonymous_access_enabled?: boolean; + anonymous_access_enabled: boolean; code_of_conduct?: components["schemas"]["code-of-conduct-simple"]; security_and_analysis?: components["schemas"]["security-and-analysis"]; }; @@ -61892,7 +64931,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template?: boolean; + is_template: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -61920,7 +64959,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; /** * @description Whether the repository is archived. * @default false @@ -61932,7 +64971,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility?: string; + visibility: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -61943,7 +64982,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; template_repository?: { id?: number; node_id?: string; @@ -62053,34 +65092,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -62093,59 +65132,59 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch?: boolean; + allow_update_branch: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -62153,14 +65192,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required?: boolean; + web_commit_signoff_required: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -63278,24 +66317,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -63331,7 +66370,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -63470,7 +66509,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -63591,24 +66630,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -63644,7 +66683,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -63783,7 +66822,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -63904,24 +66943,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -63957,7 +66996,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -64096,7 +67135,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -64248,24 +67287,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -64301,7 +67340,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -64440,7 +67479,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -64561,24 +67600,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -64614,7 +67653,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -64753,7 +67792,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -67208,22 +70247,11 @@ export interface components { headers: never; pathItems: never; } - export type $defs = Record; - -export type external = Record; - export interface operations { - /** - * This event occurs when there is a change to branch protection configurations for a repository. - * For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." - * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description All branch protections were disabled for a repository. - */ "branch-protection-configuration/disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67240,6 +70268,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67249,20 +70279,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is a change to branch protection configurations for a repository. - * For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." - * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description All branch protections were enabled for a repository. - */ "branch-protection-configuration/enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67279,6 +70305,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67288,18 +70316,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was created. - */ "branch-protection-rule/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67316,6 +70342,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67325,18 +70353,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was deleted. - */ "branch-protection-rule/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67353,6 +70379,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67362,18 +70390,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was edited. - */ "branch-protection-rule/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67390,6 +70416,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67399,24 +70427,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run was completed, and a conclusion is available. - */ "check-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67433,6 +70453,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67442,24 +70464,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A new check run was created. - */ "check-run/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67476,6 +70490,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67485,24 +70501,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-cloud@latest//developers/apps/guides/creating-ci-tests-with-the-checks-api)." - */ "check-run/requested-action": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67519,6 +70527,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67528,24 +70538,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. - */ "check-run/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67562,6 +70564,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67571,24 +70575,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description All check runs in a check suite have completed, and a conclusion is available. - */ "check-suite/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67605,6 +70601,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67614,24 +70612,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-cloud@latest//graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run)" in the REST API documentation. - */ "check-suite/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67648,6 +70638,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67657,24 +70649,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-cloud@latest//graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite)" in the REST API documentation. - */ "check-suite/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67691,6 +70675,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67700,18 +70686,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. - */ "code-scanning-alert/appeared-in-branch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67728,6 +70712,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67737,18 +70723,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone closed a code scanning alert. - */ "code-scanning-alert/closed-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67765,6 +70749,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67774,18 +70760,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was created in a repository. - */ "code-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67802,6 +70786,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67811,18 +70797,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was fixed in a branch by a commit. - */ "code-scanning-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67839,6 +70823,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67848,18 +70834,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously fixed code scanning alert reappeared in a branch. - */ "code-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67876,6 +70860,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67885,18 +70871,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone reopened a code scanning alert. - */ "code-scanning-alert/reopened-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67913,6 +70897,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67922,20 +70908,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-cloud@latest//rest/commits/comments)" in the REST API documentation. - * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description Someone commented on a commit. - */ "commit-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67952,6 +70934,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67961,21 +70945,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is created. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ create: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67992,6 +70971,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68001,20 +70982,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Note**: This event will not occur when more than three tags are deleted at once. - */ delete: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68031,6 +71008,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68040,22 +71019,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was automatically closed. - */ "dependabot-alert/auto-dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68072,6 +71045,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68081,22 +71056,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was automatically reopened. - */ "dependabot-alert/auto-reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68113,6 +71082,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68122,22 +71093,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. - */ "dependabot-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68154,6 +71119,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68163,22 +71130,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually closed. - */ "dependabot-alert/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68195,6 +71156,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68204,22 +71167,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change removed a vulnerability. - */ "dependabot-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68236,6 +71193,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68245,22 +71204,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. - */ "dependabot-alert/reintroduced": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68277,6 +71230,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68286,22 +71241,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually reopened. - */ "dependabot-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68318,6 +71267,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68327,18 +71278,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-cloud@latest//developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was created. - */ "deploy-key/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68355,6 +71304,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68364,18 +71315,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-cloud@latest//developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was deleted. - */ "deploy-key/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68392,6 +71341,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68401,20 +71352,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment status, use the `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment was created. - */ "deployment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68431,6 +71378,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68440,18 +71389,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment protection rules. For more information, see "[Using environments for deployment](https://docs.github.com/enterprise-cloud@latest//actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules)." For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments). - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment protection rule was requested for an environment. - */ "deployment-protection-rule/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68468,6 +71415,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68477,20 +71426,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was approved. - */ "deployment-review/approved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68507,6 +71452,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68516,20 +71463,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was rejected. - */ "deployment-review/rejected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68546,6 +71489,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68555,20 +71500,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was requested. - */ "deployment-review/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68585,6 +71526,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68594,20 +71537,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation, use the `deployment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A new deployment status was created. - */ "deployment-status/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68624,6 +71563,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68633,22 +71574,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was marked as the answer. - */ "discussion/answered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68665,6 +71600,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68674,22 +71611,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The category of a discussion was changed. - */ "discussion/category-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68706,6 +71637,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68715,22 +71648,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was closed. - */ "discussion/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68747,6 +71674,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68756,22 +71685,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was created. - */ "discussion-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68788,6 +71711,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68797,22 +71722,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was deleted. - */ "discussion-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68829,6 +71748,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68838,22 +71759,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was edited. - */ "discussion-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68870,6 +71785,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68879,22 +71796,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was created. - */ "discussion/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68911,6 +71822,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68920,22 +71833,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was deleted. - */ "discussion/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68952,6 +71859,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68961,22 +71870,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The title or body on a discussion was edited, or the category of the discussion was changed. - */ "discussion/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68993,6 +71896,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69002,22 +71907,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was added to a discussion. - */ "discussion/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69034,6 +71933,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69043,22 +71944,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was locked. - */ "discussion/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69075,6 +71970,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69084,22 +71981,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was pinned. - */ "discussion/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69116,6 +72007,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69125,22 +72018,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was reopened. - */ "discussion/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69157,6 +72044,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69166,22 +72055,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was transferred to another repository. - */ "discussion/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69198,6 +72081,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69207,22 +72092,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was unmarked as the answer. - */ "discussion/unanswered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69239,6 +72118,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69248,22 +72129,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was removed from a discussion. - */ "discussion/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69280,6 +72155,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69289,22 +72166,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unlocked. - */ "discussion/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69321,6 +72192,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69330,22 +72203,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unpinned. - */ "discussion/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69362,6 +72229,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69371,17 +72240,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-cloud@latest//get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-cloud@latest//rest/repos/forks)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ fork: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69398,6 +72266,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69407,20 +72277,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. - * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. - * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." - * @description Someone revoked their authorization of a GitHub App. - */ "github-app-authorization/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69437,6 +72303,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69446,17 +72314,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-cloud@latest//communities/documenting-your-project-with-wikis/about-wikis)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ gollum: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69473,6 +72340,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69482,18 +72351,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. - * @description Someone installed a GitHub App on a user or organization account. - */ "installation/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69510,6 +72377,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69519,18 +72388,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. - * @description Someone uninstalled a GitHub App from their user or organization account. - */ "installation/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69547,6 +72414,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69556,18 +72425,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. - * @description Someone granted new permissions to a GitHub App. - */ "installation/new-permissions-accepted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69584,6 +72451,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69593,18 +72462,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. - * @description A GitHub App installation was granted access to one or more repositories. - */ "installation-repositories/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69621,6 +72488,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69630,18 +72499,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. - * @description Access to one or more repositories was revoked for a GitHub App installation. - */ "installation-repositories/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69658,6 +72525,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69667,18 +72536,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. - * @description Someone blocked access by a GitHub App to their user or organization account. - */ "installation/suspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69695,6 +72562,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69704,16 +72573,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. - * @description Somebody renamed the user or organization account that a GitHub App is installed on. - */ "installation-target/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69730,6 +72599,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69739,18 +72610,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. - * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. - */ "installation/unsuspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69767,6 +72636,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69776,20 +72647,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-cloud@latest//rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was created. - */ "issue-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69806,6 +72673,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69815,20 +72684,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-cloud@latest//rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was deleted. - */ "issue-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69845,6 +72710,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69854,20 +72721,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-cloud@latest//rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was edited. - */ "issue-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69884,6 +72747,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69893,20 +72758,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was assigned to a user. - */ "issues/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69923,6 +72784,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69932,20 +72795,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was closed. - */ "issues/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69962,6 +72821,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69971,20 +72832,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was deleted. - */ "issues/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70001,6 +72858,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70010,20 +72869,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was removed from a milestone. - */ "issues/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70040,6 +72895,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70049,20 +72906,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description The title or body on an issue was edited. - */ "issues/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70079,6 +72932,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70088,20 +72943,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was added to an issue. - */ "issues/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70118,6 +72969,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70127,20 +72980,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70157,6 +73006,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70166,20 +73017,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was added to a milestone. - */ "issues/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70196,6 +73043,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70205,20 +73054,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. - */ "issues/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70235,6 +73080,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70244,20 +73091,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70274,6 +73117,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70283,20 +73128,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A closed issue was reopened. - */ "issues/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70313,6 +73154,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70322,20 +73165,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." - */ "issues/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70352,6 +73191,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70361,20 +73202,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A user was unassigned from an issue. - */ "issues/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70391,6 +73228,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70400,20 +73239,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was removed from an issue. - */ "issues/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70430,6 +73265,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70439,20 +73276,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70469,6 +73302,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70478,20 +73313,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70508,6 +73339,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70517,20 +73350,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was created. - */ "label/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70547,6 +73376,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70556,20 +73387,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was deleted. - */ "label/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70586,6 +73413,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70595,20 +73424,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label's name, description, or color was changed. - */ "label/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70625,6 +73450,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70634,16 +73461,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)" in the REST API documentation. - * @description Someone cancelled a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately. - */ "marketplace-purchase/cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70660,6 +73487,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70669,16 +73498,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)" in the REST API documentation. - * @description Someone upgraded or downgraded a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately. - */ "marketplace-purchase/changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70695,6 +73524,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70704,16 +73535,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)" in the REST API documentation. - * @description Someone downgraded or cancelled a GitHub Marketplace plan. The new plan or cancellation will take effect at the end of the current billing cycle. When the change takes effect, the `changed` or `cancelled` event will be sent. - */ "marketplace-purchase/pending-change": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70730,6 +73561,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70739,16 +73572,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)" in the REST API documentation. - * @description Someone cancelled a pending change to a GitHub Marketplace plan. Pending changes include plan cancellations and downgrades that will take effect at the end of a billing cycle. - */ "marketplace-purchase/pending-change-cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70765,6 +73598,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70774,16 +73609,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)" in the REST API documentation. - * @description Someone purchased a GitHub Marketplace plan. The change will take effect on the account immediately. - */ "marketplace-purchase/purchased": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70800,6 +73635,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70809,18 +73646,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A GitHub user accepted an invitation to a repository. - */ "member/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70837,6 +73672,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70846,18 +73683,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description Permissions were changed for a collaborator on a repository. - */ "member/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70874,6 +73709,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70883,18 +73720,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A collaborator was removed from a repository. - */ "member/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70911,6 +73746,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70920,18 +73757,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-cloud@latest//rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was added to a team. - */ "membership/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70948,6 +73783,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70957,18 +73794,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-cloud@latest//rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was removed from a team. - */ "membership/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70985,6 +73820,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70994,20 +73831,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a merge group in a merge queue. For more information, see "[Managing a merge queue](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Merge queues" repository permission. - * @description Status checks were requested for a merge group. This happens when a merge group is created or added to by the merge queue because a pull request was queued. - * - * When you receive this event, you should perform checks on the head SHA and report status back using check runs or commit statuses. - */ "merge-group/checks-requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71024,6 +73857,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71033,20 +73868,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a merge group in a merge queue. For more information, see "[Managing a merge queue](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Merge queues" repository permission. - * @description The merge queue groups pull requests together to be merged. This event indicates that one of those merge groups was destroyed. This happens when a pull request is removed from the queue: any group containing that pull request is also destroyed. - * - * When you receive this event, you may want to cancel any checks that are running on the head SHA to avoid wasting computing resources on a merge group that will not be used. - */ "merge-group/destroyed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71063,6 +73894,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71072,18 +73905,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a webhook itself. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. - * @description The webhook was deleted. - */ "meta/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71100,6 +73931,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71109,20 +73942,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was closed. - */ "milestone/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71139,6 +73968,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71148,20 +73979,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was created. - */ "milestone/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71178,6 +74005,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71187,20 +74016,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was deleted. - */ "milestone/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71217,6 +74042,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71226,20 +74053,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was edited. - */ "milestone/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71256,6 +74079,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71265,20 +74090,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was opened. - */ "milestone/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71295,6 +74116,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71304,20 +74127,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see "[Blocking a user from your organization](https://docs.github.com/enterprise-cloud@latest//communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization)." For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#userblockedevent) or "[Blocking users](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking)" in the REST API documentation. - * - * If you want to receive an event when members are added or removed from an organization, use the `organization` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" organization permission. - * @description A user was blocked from the organization. - */ "org-block/blocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71334,6 +74153,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71343,20 +74164,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see "[Blocking a user from your organization](https://docs.github.com/enterprise-cloud@latest//communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization)." For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#userblockedevent) or "[Blocking users](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking)" in the REST API documentation. - * - * If you want to receive an event when members are added or removed from an organization, use the `organization` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" organization permission. - * @description A previously blocked user was unblocked from the organization. - */ "org-block/unblocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71373,6 +74190,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71382,20 +74201,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization was deleted. - */ "organization/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71412,6 +74227,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71421,20 +74238,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member accepted an invitation to join an organization. - */ "organization/member-added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71451,6 +74264,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71460,20 +74275,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was invited to join the organization. - */ "organization/member-invited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71490,6 +74301,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71499,20 +74312,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was removed from the organization. - */ "organization/member-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71529,6 +74338,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71538,20 +74349,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name of an organization was changed. - */ "organization/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71568,6 +74375,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71577,18 +74386,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A package was published to a registry. - */ "package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71605,6 +74412,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71614,18 +74423,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A previously published package was updated. - */ "package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71642,6 +74449,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71651,17 +74460,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-cloud@latest//pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-cloud@latest//rest/pages)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ "page-build": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71678,6 +74486,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71687,20 +74497,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was approved. - */ "personal-access-token-request/approved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71717,6 +74523,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71726,20 +74534,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was cancelled by the requester. - */ "personal-access-token-request/cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71756,6 +74560,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71765,20 +74571,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was created. - */ "personal-access-token-request/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71795,6 +74597,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71804,20 +74608,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was denied. - */ "personal-access-token-request/denied": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71834,6 +74634,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71843,13 +74645,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ ping: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71866,6 +74671,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71875,20 +74682,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note in a classic project was converted to an issue. - */ "project-card/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71905,6 +74708,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71914,20 +74719,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card was added to a classic project. - */ "project-card/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71944,6 +74745,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71953,20 +74756,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a classic project was deleted. - */ "project-card/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71983,6 +74782,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71992,20 +74793,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note on a classic project was edited. - */ "project-card/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72022,6 +74819,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72031,20 +74830,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a classic project was moved to another column or to another position in its column. - */ "project-card/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72061,6 +74856,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72070,20 +74867,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was closed. - */ "project/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72100,6 +74893,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72109,20 +74904,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was added to a classic project. - */ "project-column/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72139,6 +74930,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72148,20 +74941,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was deleted from a classic project. - */ "project-column/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72178,6 +74967,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72187,20 +74978,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name of a column on a classic project was changed. - */ "project-column/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72217,6 +75004,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72226,20 +75015,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was moved to a new position on a classic project. - */ "project-column/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72256,6 +75041,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72265,20 +75052,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was created. - */ "project/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72295,6 +75078,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72304,20 +75089,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was deleted. - */ "project/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72334,6 +75115,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72343,20 +75126,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name or description of a classic project was changed. - */ "project/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72373,6 +75152,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72382,20 +75163,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was closed. - */ "project/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72412,6 +75189,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72421,22 +75200,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was closed. - */ "projects-v2/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72453,6 +75226,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72462,22 +75237,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was created. - */ "projects-v2/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72494,6 +75263,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72503,22 +75274,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was deleted. - */ "projects-v2/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72535,6 +75300,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72544,22 +75311,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The title, description, or README of a project in the organization was changed. - */ "projects-v2/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72576,6 +75337,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72585,22 +75348,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - */ "projects-v2-item/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72617,6 +75374,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72626,22 +75385,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A draft issue in an organization project was converted to an issue. - */ "projects-v2-item/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72658,6 +75411,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72667,22 +75422,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item was added to a project in the organization. - */ "projects-v2-item/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72699,6 +75448,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72708,22 +75459,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item was deleted from a project in the organization. - */ "projects-v2-item/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72740,6 +75485,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72749,22 +75496,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. - */ "projects-v2-item/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72781,6 +75522,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72790,22 +75533,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. - */ "projects-v2-item/reordered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72822,6 +75559,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72831,22 +75570,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - */ "projects-v2-item/restored": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72863,6 +75596,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72872,22 +75607,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was reopened. - */ "projects-v2/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72904,6 +75633,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72913,17 +75644,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ public: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72940,6 +75670,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72949,20 +75681,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was assigned to a user. - */ "pull-request/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72979,6 +75707,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72988,20 +75718,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73018,6 +75744,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73027,20 +75755,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73057,6 +75781,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73066,20 +75792,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. - */ "pull-request/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73096,6 +75818,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73105,20 +75829,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/converted-to-draft": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73135,6 +75855,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73144,20 +75866,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was removed from a milestone. - */ "pull-request/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73174,6 +75892,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73183,20 +75903,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was removed from the merge queue. - */ "pull-request/dequeued": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73213,6 +75929,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73222,20 +75940,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The title or body of a pull request was edited. - */ "pull-request/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73252,6 +75966,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73261,20 +75977,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was added to the merge queue. - */ "pull-request/enqueued": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73291,6 +76003,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73300,20 +76014,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was added to a pull request. - */ "pull-request/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73330,6 +76040,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73339,20 +76051,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73369,6 +76077,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73378,20 +76088,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was added to a milestone. - */ "pull-request/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73408,6 +76114,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73417,20 +76125,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was created - */ "pull-request/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73447,6 +76151,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73456,20 +76162,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/ready-for-review": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73486,6 +76188,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73495,20 +76199,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously closed pull request was reopened. - */ "pull-request/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73525,6 +76225,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73534,20 +76236,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was created. - */ "pull-request-review-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73564,6 +76262,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73573,20 +76273,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was deleted. - */ "pull-request-review-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73603,6 +76299,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73612,20 +76310,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The content of a comment on a pull request diff was changed. - */ "pull-request-review-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73642,6 +76336,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73651,20 +76347,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was dismissed. - */ "pull-request-review/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73681,6 +76373,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73690,20 +76384,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The body comment on a pull request review was edited. - */ "pull-request-review/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73720,6 +76410,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73729,20 +76421,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A request for review by a person or team was removed from a pull request. - */ "pull-request/review-request-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73759,6 +76447,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73768,20 +76458,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." - */ "pull-request/review-requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73798,6 +76484,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73807,20 +76495,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was submitted. - */ "pull-request-review/submitted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73837,6 +76521,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73846,20 +76532,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment thread on a pull request was marked as resolved. - */ "pull-request-review-thread/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73876,6 +76558,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73885,20 +76569,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously resolved comment thread on a pull request was marked as unresolved. - */ "pull-request-review-thread/unresolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73915,6 +76595,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73924,20 +76606,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. - */ "pull-request/synchronize": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73954,6 +76632,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73963,20 +76643,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A user was unassigned from a pull request. - */ "pull-request/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73993,6 +76669,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74002,20 +76680,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was removed from a pull request. - */ "pull-request/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74032,6 +76706,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74041,20 +76717,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74071,6 +76743,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74080,21 +76754,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Note**: An event will not be created when more than three tags are pushed at once. - */ push: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74111,6 +76780,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74120,20 +76791,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * **Note**: GitHub recommends that you use the newer `package` event instead. - * @description A package was published to a registry. - */ "registry-package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74150,6 +76817,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74159,20 +76828,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * **Note**: GitHub recommends that you use the newer `package` event instead. - * @description A package that was previously published to a registry was updated. - */ "registry-package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74189,6 +76854,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74198,18 +76865,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. - */ "release/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74226,6 +76891,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74235,18 +76902,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft release was deleted. - */ "release/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74263,6 +76928,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74272,18 +76939,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." - */ "release/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74300,6 +76965,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74309,18 +76976,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. - */ "release/prereleased": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74337,6 +77002,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74346,18 +77013,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft of a release was published. - */ "release/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74374,6 +77039,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74383,18 +77050,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was published, or a pre-release was changed to a release. - */ "release/released": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74411,6 +77076,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74420,18 +77087,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release or pre-release was unpublished. - */ "release/unpublished": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74448,6 +77113,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74457,18 +77124,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Repository security advisories" permission. - * @description A repository security advisory was published. - */ "repository-advisory/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74485,6 +77150,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74494,18 +77161,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Repository security advisories" permission. - * @description A private vulnerability report was submitted. - */ "repository-advisory/reported": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74522,6 +77187,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74531,18 +77198,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was archived. - */ "repository/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74559,6 +77224,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74568,18 +77235,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was created. - */ "repository/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74596,6 +77261,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74605,18 +77272,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. - */ "repository/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74633,6 +77298,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74642,18 +77309,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event). - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - */ "repository-dispatch/sample.collected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74670,6 +77335,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74679,18 +77346,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The topics, default branch, description, or homepage of a repository was changed. - */ "repository/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74707,6 +77372,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74716,13 +77383,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when a repository is imported to GitHub Enterprise Cloud. For more information, see "[Importing a repository with GitHub Importer](https://docs.github.com/enterprise-cloud@latest//get-started/importing-your-projects-to-github/importing-source-code-to-github/importing-a-repository-with-github-importer)." For more information about the API to manage imports, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports). */ "repository-import": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74739,6 +77409,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74748,18 +77420,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `private`. - */ "repository/privatized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74776,6 +77446,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74785,18 +77457,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `public`. - */ "repository/publicized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74813,6 +77483,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74822,18 +77494,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The name of a repository was changed. - */ "repository/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74850,6 +77520,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74859,20 +77531,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A repository ruleset was created. - */ "repository-ruleset/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74889,6 +77557,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74898,20 +77568,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A repository ruleset was deleted. - */ "repository-ruleset/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74928,6 +77594,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74937,20 +77605,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A repository ruleset was edited. - */ "repository-ruleset/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74967,6 +77631,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74976,18 +77642,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. - */ "repository/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75004,6 +77668,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75013,18 +77679,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A previously archived repository was unarchived. - */ "repository/unarchived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75041,6 +77705,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75050,18 +77716,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was created. - */ "repository-vulnerability-alert/create": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75078,6 +77742,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75087,18 +77753,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was dismissed. - */ "repository-vulnerability-alert/dismiss": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75115,6 +77779,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75124,18 +77790,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A previously dismissed or resolved repository vulnerability alert was reopened. - */ "repository-vulnerability-alert/reopen": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75152,6 +77816,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75161,18 +77827,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was marked as resolved. - */ "repository-vulnerability-alert/resolve": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75189,6 +77853,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75198,20 +77864,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was created. - */ "secret-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75228,6 +77890,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75237,22 +77901,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. - * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. - */ "secret-scanning-alert-location/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75269,6 +77927,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75278,20 +77938,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A previously closed secret scanning alert was reopened. - */ "secret-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75308,6 +77964,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75317,20 +77975,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was closed. - */ "secret-scanning-alert/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75347,6 +78001,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75356,20 +78012,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was marked as revoked. - */ "secret-scanning-alert/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75386,6 +78038,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75395,18 +78049,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description A security advisory was published to the GitHub community. - */ "security-advisory/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75423,6 +78075,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75432,18 +78086,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. - */ "security-advisory/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75460,6 +78112,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75469,18 +78123,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description A previously published security advisory was withdrawn. - */ "security-advisory/withdrawn": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75497,6 +78149,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75506,17 +78160,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-cloud@latest//code-security/getting-started/github-security-features)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ "security-and-analysis": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75533,6 +78186,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75542,20 +78197,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsorship was cancelled and the last billing cycle has ended. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75572,6 +78223,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75581,18 +78234,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. - */ "sponsorship/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75609,6 +78260,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75618,18 +78271,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. - */ "sponsorship/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75646,6 +78297,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75655,20 +78308,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/pending-cancellation": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75685,6 +78334,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75694,18 +78345,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. - */ "sponsorship/pending-tier-change": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75722,6 +78371,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75731,18 +78382,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. - */ "sponsorship/tier-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75759,6 +78408,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75768,18 +78419,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-cloud@latest//get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-cloud@latest//rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone starred a repository. - */ "star/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75796,6 +78445,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75805,18 +78456,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-cloud@latest//get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-cloud@latest//rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone unstarred the repository. - */ "star/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75833,6 +78482,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75842,17 +78493,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ status: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75869,6 +78519,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75878,20 +78530,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." - * - * For activity relating to teams, see the `teams` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ "team-add": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75908,6 +78556,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75917,19 +78567,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was granted access to a repository. - */ "team/added-to-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75946,6 +78593,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75955,19 +78604,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was created. - */ "team/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75984,6 +78630,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75993,19 +78641,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was deleted. - */ "team/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76022,6 +78667,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76031,19 +78678,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name, description, or visibility of a team was changed. - */ "team/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76060,6 +78704,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76069,19 +78715,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team's access to a repository was removed. - */ "team/removed-from-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76098,6 +78741,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76107,16 +78752,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to user accounts in an enterprise. - * @description A user account was added to the enterprise. - */ "user/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76133,6 +78778,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76142,16 +78789,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to user accounts in an enterprise. - * @description A user account was removed from the enterprise. - */ "user/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76168,6 +78815,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76177,18 +78826,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-cloud@latest//account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-cloud@latest//rest/activity/watching)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone started watching the repository. - */ "watch/started": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76205,6 +78852,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76214,19 +78863,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-cloud@latest//actions/managing-workflow-runs/manually-running-a-workflow)." - * - * For activity relating to workflow runs, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ "workflow-dispatch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76243,6 +78889,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76252,20 +78900,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. - */ "workflow-job/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76282,6 +78926,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76291,20 +78937,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run started processing on a runner. - */ "workflow-job/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76321,6 +78963,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76330,20 +78974,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run was created. - */ "workflow-job/queued": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76360,6 +79000,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76369,20 +79011,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run was created and is waiting for approvals. - */ "workflow-job/waiting": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76399,6 +79037,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76408,20 +79048,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. - */ "workflow-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76438,6 +79074,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76447,20 +79085,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run started processing on a runner. - */ "workflow-run/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76477,6 +79111,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76486,20 +79122,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run was triggered. - */ "workflow-run/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76516,6 +79148,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76525,7 +79159,10 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; diff --git a/packages/openapi-webhooks-types-ghes-3.10/types.d.ts b/packages/openapi-webhooks-types-ghes-3.10/types.d.ts index 5729608..83f403c 100644 --- a/packages/openapi-webhooks-types-ghes-3.10/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.10/types.d.ts @@ -1,2423 +1,5308 @@ -/** - * This file was auto-generated by openapi-typescript. - * Do not make direct changes to the file. - */ - -/** OneOf type helpers */ -type Without = { [P in Exclude]?: never }; -type XOR = T | U extends object - ? (Without & U) | (Without & T) - : T | U; -type OneOf = T extends [infer Only] - ? Only - : T extends [infer A, infer B, ...infer Rest] - ? OneOf<[XOR, ...Rest]> - : never; - export type paths = Record; - export interface webhooks { "branch-protection-rule-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.10/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was created. */ post: operations["branch-protection-rule/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-rule-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.10/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was deleted. */ post: operations["branch-protection-rule/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-rule-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.10/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was edited. */ post: operations["branch-protection-rule/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "cache-sync": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](https://docs.github.com/enterprise-server@3.10/admin/enterprise-management/caching-repositories/about-repository-caching)." */ post: operations["cache-sync"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.10/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run was completed, and a conclusion is available. */ post: operations["check-run/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.10/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A new check run was created. */ post: operations["check-run/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-requested-action": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.10/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.10/developers/apps/guides/creating-ci-tests-with-the-checks-api)." */ post: operations["check-run/requested-action"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.10/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. */ post: operations["check-run/rerequested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.10/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description All check runs in a check suite have completed, and a conclusion is available. */ post: operations["check-suite/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.10/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.10/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-server@3.10/rest/checks/runs#create-a-check-run)" in the REST API documentation. */ post: operations["check-suite/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.10/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.10/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-server@3.10/rest/checks/suites#create-a-check-suite)" in the REST API documentation. */ post: operations["check-suite/rerequested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-appeared-in-branch": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. */ post: operations["code-scanning-alert/appeared-in-branch"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-closed-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone closed a code scanning alert. */ post: operations["code-scanning-alert/closed-by-user"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was created in a repository. */ post: operations["code-scanning-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was fixed in a branch by a commit. */ post: operations["code-scanning-alert/fixed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously fixed code scanning alert reappeared in a branch. */ post: operations["code-scanning-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-reopened-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone reopened a code scanning alert. */ post: operations["code-scanning-alert/reopened-by-user"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "commit-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-server@3.10/rest/commits/comments)" in the REST API documentation. * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. + * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description Someone commented on a commit. */ post: operations["commit-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; create: { - /** - * This event occurs when a Git branch or tag is created. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a Git branch or tag is created. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ + * **Notes**: + * - This event will not occur when more than three tags are created at once. + * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. */ post: operations["create"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; delete: { - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including + * branch and tag deletions, use the [`push`](#push) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Note**: This event will not occur when more than three tags are deleted at once. - */ + * **Note**: This event will not occur when more than three tags are deleted at once. */ post: operations["delete"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-reintroduced": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deploy-key-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.10/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.10/rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was created. */ post: operations["deploy-key/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deploy-key-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.10/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.10/rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was deleted. */ post: operations["deploy-key/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.10/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment status, use the `deployment_status` event. + * For activity relating to deployment status, use the `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment was created. */ post: operations["deployment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-protection-rule-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment protection rules. For more information, see "[Using environments for deployment](https://docs.github.com/enterprise-server@3.10/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules)." For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.10/rest/deployments/environments). * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment protection rule was requested for an environment. */ post: operations["deployment-protection-rule/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-approved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.10/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was approved. */ post: operations["deployment-review/approved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-rejected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.10/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was rejected. */ post: operations["deployment-review/rejected"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.10/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was requested. */ post: operations["deployment-review/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-status-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.10/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation, use the `deployment` event. + * For activity relating to deployment creation, use the `deployment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A new deployment status was created. */ post: operations["deployment-status/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-answered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-category-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was closed. */ post: operations["discussion/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was created. */ post: operations["discussion/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was deleted. */ post: operations["discussion/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was locked. */ post: operations["discussion/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was pinned. */ post: operations["discussion/pinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was reopened. */ post: operations["discussion/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unanswered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "enterprise-anonymous-access-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.10/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was disabled. */ post: operations["enterprise/anonymous-access-disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "enterprise-anonymous-access-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.10/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was enabled. */ post: operations["enterprise/anonymous-access-enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; fork: { - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.10/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.10/rest/repos/forks)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.10/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.10/rest/repos/forks)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["fork"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "github-app-authorization-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. + * A GitHub App receives this webhook by default and cannot unsubscribe from this event. * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.10/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." + * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.10/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." * @description Someone revoked their authorization of a GitHub App. */ post: operations["github-app-authorization/revoked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; gollum: { - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.10/communities/documenting-your-project-with-wikis/about-wikis)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.10/communities/documenting-your-project-with-wikis/about-wikis)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["gollum"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. * @description Someone installed a GitHub App on a user or organization account. */ post: operations["installation/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. * @description Someone uninstalled a GitHub App from their user or organization account. */ post: operations["installation/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-new-permissions-accepted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. * @description Someone granted new permissions to a GitHub App. */ post: operations["installation/new-permissions-accepted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-repositories-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. * @description A GitHub App installation was granted access to one or more repositories. */ post: operations["installation-repositories/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-repositories-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. * @description Access to one or more repositories was revoked for a GitHub App installation. */ post: operations["installation-repositories/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-suspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. * @description Someone blocked access by a GitHub App to their user or organization account. */ post: operations["installation/suspend"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-target-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. * @description Somebody renamed the user or organization account that a GitHub App is installed on. */ post: operations["installation-target/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-unsuspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. */ post: operations["installation/unsuspend"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.10/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.10/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.10/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was created. */ post: operations["issue-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.10/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.10/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.10/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was deleted. */ post: operations["issue-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.10/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.10/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.10/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was edited. */ post: operations["issue-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was assigned to a user. */ post: operations["issues/assigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was closed. */ post: operations["issues/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was deleted. */ post: operations["issues/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was removed from a milestone. */ post: operations["issues/demilestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description The title or body on an issue was edited. */ post: operations["issues/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was added to an issue. */ post: operations["issues/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.10/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was added to a milestone. */ post: operations["issues/milestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. */ post: operations["issues/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/pinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A closed issue was reopened. */ post: operations["issues/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." */ post: operations["issues/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A user was unassigned from an issue. */ post: operations["issues/unassigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was removed from an issue. */ post: operations["issues/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.10/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/unpinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.10/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was created. */ post: operations["label/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.10/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was deleted. */ post: operations["label/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.10/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label's name, description, or color was changed. */ post: operations["label/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.10/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A GitHub user accepted an invitation to a repository. */ post: operations["member/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.10/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description Permissions were changed for a collaborator on a repository. */ post: operations["member/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.10/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A collaborator was removed from a repository. */ post: operations["member/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "membership-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.10/rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was added to a team. */ post: operations["membership/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "membership-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.10/rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was removed from a team. */ post: operations["membership/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "meta-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a webhook itself. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. * @description The webhook was deleted. */ post: operations["meta/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.10/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was closed. */ post: operations["milestone/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.10/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was created. */ post: operations["milestone/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.10/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was deleted. */ post: operations["milestone/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.10/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was edited. */ post: operations["milestone/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.10/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was opened. */ post: operations["milestone/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.10/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.10/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization was deleted. */ post: operations["organization/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.10/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.10/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member accepted an invitation to join an organization. */ post: operations["organization/member-added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-invited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.10/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.10/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was invited to join the organization. */ post: operations["organization/member-invited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.10/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.10/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was removed from the organization. */ post: operations["organization/member-removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.10/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.10/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name of an organization was changed. */ post: operations["organization/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.10/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.10/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A package was published to a registry. */ post: operations["package/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.10/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.10/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A previously published package was updated. */ post: operations["package/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "page-build": { - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.10/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.10/rest/pages)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.10/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.10/rest/pages)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. */ post: operations["page-build"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "personal-access-token-request-approved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.10/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was approved. */ post: operations["personal-access-token-request/approved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "personal-access-token-request-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.10/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was cancelled by the requester. */ post: operations["personal-access-token-request/cancelled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "personal-access-token-request-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.10/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was created. */ post: operations["personal-access-token-request/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "personal-access-token-request-denied": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.10/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was denied. */ post: operations["personal-access-token-request/denied"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; ping: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ post: operations["ping"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note in a classic project was converted to an issue. */ post: operations["project-card/converted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card was added to a classic project. */ post: operations["project-card/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a classic project was deleted. */ post: operations["project-card/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note on a classic project was edited. */ post: operations["project-card/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a classic project was moved to another column or to another position in its column. */ post: operations["project-card/moved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was closed. */ post: operations["project/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was added to a classic project. */ post: operations["project-column/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was deleted from a classic project. */ post: operations["project-column/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name of a column on a classic project was changed. */ post: operations["project-column/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was moved to a new position on a classic project. */ post: operations["project-column/moved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was created. */ post: operations["project/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was deleted. */ post: operations["project/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name or description of a classic project was changed. */ post: operations["project/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was closed. */ post: operations["project/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was closed. */ post: operations["projects-v2/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was created. */ post: operations["projects-v2/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was deleted. */ post: operations["projects-v2/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The title, description, or README of a project in the organization was changed. */ post: operations["projects-v2/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/archived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A draft issue in an organization project was converted to an issue. */ post: operations["projects-v2-item/converted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was added to a project in the organization. */ post: operations["projects-v2-item/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was deleted from a project in the organization. */ post: operations["projects-v2-item/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. */ post: operations["projects-v2-item/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-reordered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. */ post: operations["projects-v2-item/reordered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-restored": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/restored"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was reopened. */ post: operations["projects-v2/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; public: { - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. */ post: operations["public"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was assigned to a user. */ post: operations["pull-request/assigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-auto-merge-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-auto-merge-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. */ post: operations["pull-request/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-converted-to-draft": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/converted-to-draft"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was removed from a milestone. */ post: operations["pull-request/demilestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The title or body of a pull request was edited. */ post: operations["pull-request/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was added to a pull request. */ post: operations["pull-request/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.10/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was added to a milestone. */ post: operations["pull-request/milestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was created */ post: operations["pull-request/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-ready-for-review": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/ready-for-review"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously closed pull request was reopened. */ post: operations["pull-request/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was created. */ post: operations["pull-request-review-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was deleted. */ post: operations["pull-request-review-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The content of a comment on a pull request diff was changed. */ post: operations["pull-request-review-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was dismissed. */ post: operations["pull-request-review/dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The body comment on a pull request review was edited. */ post: operations["pull-request-review/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-request-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A request for review by a person or team was removed from a pull request. */ post: operations["pull-request/review-request-removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." */ post: operations["pull-request/review-requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-submitted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was submitted. */ post: operations["pull-request-review/submitted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-thread-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment thread on a pull request was marked as resolved. */ post: operations["pull-request-review-thread/resolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-thread-unresolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously resolved comment thread on a pull request was marked as unresolved. */ post: operations["pull-request-review-thread/unresolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-synchronize": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. */ post: operations["pull-request/synchronize"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A user was unassigned from a pull request. */ post: operations["pull-request/unassigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was removed from a pull request. */ post: operations["pull-request/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.10/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; push: { - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, + * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch + * and tag deletions, use the [`delete`](#delete) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Note**: An event will not be created when more than three tags are pushed at once. - */ + * **Note**: An event will not be created when more than three tags are pushed at once. */ post: operations["push"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "registry-package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.10/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.10/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * **Note**: GitHub recommends that you use the newer `package` event instead. + * **Note**: GitHub recommends that you use the newer `package` event instead. * @description A package was published to a registry. */ post: operations["registry-package/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "registry-package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.10/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.10/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * **Note**: GitHub recommends that you use the newer `package` event instead. + * **Note**: GitHub recommends that you use the newer `package` event instead. * @description A package that was previously published to a registry was updated. */ post: operations["registry-package/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. */ post: operations["release/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft release was deleted. */ post: operations["release/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." */ post: operations["release/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-prereleased": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. */ post: operations["release/prereleased"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft of a release was published. */ post: operations["release/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-released": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was published, or a pre-release was changed to a release. */ post: operations["release/released"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-unpublished": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release or pre-release was unpublished. */ post: operations["release/unpublished"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-anonymous-access-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-anonymous-access-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was archived. */ post: operations["repository/archived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was created. */ post: operations["repository/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. */ post: operations["repository/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-dispatch-sample.collected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.10/rest/repos/repos#create-a-repository-dispatch-event). * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. */ post: operations["repository-dispatch/sample.collected"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The topics, default branch, description, or homepage of a repository was changed. */ post: operations["repository/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-privatized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `private`. */ post: operations["repository/privatized"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-publicized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `public`. */ post: operations["repository/publicized"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The name of a repository was changed. */ post: operations["repository/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. */ post: operations["repository/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-unarchived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A previously archived repository was unarchived. */ post: operations["repository/unarchived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-create": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was created. */ post: operations["repository-vulnerability-alert/create"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-dismiss": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was dismissed. */ post: operations["repository-vulnerability-alert/dismiss"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-reopen": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A previously dismissed or resolved repository vulnerability alert was reopened. */ post: operations["repository-vulnerability-alert/reopen"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-resolve": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was marked as resolved. */ post: operations["repository-vulnerability-alert/resolve"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.10/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.10/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was created. */ post: operations["secret-scanning-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-location-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.10/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.10/rest/secret-scanning)" in the REST API documentation. + * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.10/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.10/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. + * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. */ post: operations["secret-scanning-alert-location/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.10/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.10/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A previously closed secret scanning alert was reopened. */ post: operations["secret-scanning-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.10/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.10/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was closed. */ post: operations["secret-scanning-alert/resolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.10/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.10/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was marked as revoked. */ post: operations["secret-scanning-alert/revoked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.10/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description A security advisory was published to the GitHub community. */ post: operations["security-advisory/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.10/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. */ post: operations["security-advisory/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-withdrawn": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.10/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description A previously published security advisory was withdrawn. */ post: operations["security-advisory/withdrawn"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-and-analysis": { - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.10/code-security/getting-started/github-security-features)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.10/code-security/getting-started/github-security-features)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. */ post: operations["security-and-analysis"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsorship was cancelled and the last billing cycle has ended. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/cancelled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. */ post: operations["sponsorship/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. */ post: operations["sponsorship/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-pending-cancellation": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/pending-cancellation"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-pending-tier-change": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. */ post: operations["sponsorship/pending-tier-change"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-tier-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. */ post: operations["sponsorship/tier-changed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "star-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.10/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.10/rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone starred a repository. */ post: operations["star/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "star-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.10/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.10/rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone unstarred the repository. */ post: operations["star/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; status: { - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.10/rest/commits/statuses)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.10/rest/commits/statuses)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. */ post: operations["status"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-add": { - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a team is added to a repository. + * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." * - * For activity relating to teams, see the `teams` event. + * For activity relating to teams, see the `teams` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. */ post: operations["team-add"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-added-to-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was granted access to a repository. */ post: operations["team/added-to-repository"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was created. */ post: operations["team/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was deleted. */ post: operations["team/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name, description, or visibility of a team was changed. */ post: operations["team/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-removed-from-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team's access to a repository was removed. */ post: operations["team/removed-from-repository"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "user-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was added to the enterprise. */ post: operations["user/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "user-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was removed from the enterprise. */ post: operations["user/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "watch-started": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-server@3.10/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-server@3.10/rest/activity/watching)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone started watching the repository. */ post: operations["watch/started"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-dispatch": { - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.10/actions/managing-workflow-runs/manually-running-a-workflow)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.10/actions/managing-workflow-runs/manually-running-a-workflow)." * - * For activity relating to workflow runs, use the `workflow_run` event. + * For activity relating to workflow runs, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["workflow-dispatch"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.10/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. */ post: operations["workflow-job/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.10/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run started processing on a runner. */ post: operations["workflow-job/in-progress"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-queued": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.10/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run was created. */ post: operations["workflow-job/queued"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-waiting": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.10/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run was created and is waiting for approvals. */ post: operations["workflow-job/waiting"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.10/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. */ post: operations["workflow-run/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.10/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run started processing on a runner. */ post: operations["workflow-run/in-progress"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.10/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run was triggered. */ post: operations["workflow-run/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; } - export interface components { schemas: { /** branch protection rule created event */ @@ -2495,8 +5380,9 @@ export interface components { /** * Enterprise * @description An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured - * on an enterprise account or an organization that's part of an enterprise account. For more information, - * see "[About enterprise accounts](https://docs.github.com/enterprise-server@3.10/admin/overview/about-enterprise-accounts)." + * on an enterprise account or an organization that's part of an enterprise account. For more information, + * see "[About enterprise accounts](https://docs.github.com/enterprise-server@3.10/admin/overview/about-enterprise-accounts)." + * */ "enterprise-webhooks": { /** @description A short description of the enterprise. */ @@ -2525,8 +5411,8 @@ export interface components { /** * Simple Installation * @description The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured - * for and sent to a GitHub App. For more information, - * see "[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-server@3.10/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + * for and sent to a GitHub App. For more information, + * see "[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-server@3.10/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." */ "simple-installation": { /** @description The ID of the installation. */ @@ -2537,7 +5423,7 @@ export interface components { /** * Organization Simple * @description A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an - * organization, or when the event occurs from activity in a repository owned by an organization. + * organization, or when the event occurs from activity in a repository owned by an organization. */ "organization-simple-webhooks": { login: string; @@ -2559,7 +5445,7 @@ export interface components { /** * Repository * @description The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property - * when the event occurs from activity in a repository. + * when the event occurs from activity in a repository. */ "repository-webhooks": { /** @description Unique identifier of the repository */ @@ -2661,7 +5547,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template?: boolean; + is_template: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -2688,7 +5574,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; /** * @description Whether the repository is archived. * @default false @@ -2700,7 +5586,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility?: string; + visibility: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -2711,7 +5597,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; template_repository?: { id?: number; node_id?: string; @@ -2821,34 +5707,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -2861,59 +5747,59 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch?: boolean; + allow_update_branch: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -2921,14 +5807,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required?: boolean; + web_commit_signoff_required: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -3290,9 +6176,9 @@ export interface components { /** * @description The set of permissions for the GitHub app * @example { - * "issues": "read", - * "deployments": "write" - * } + * "issues": "read", + * "deployments": "write" + * } */ permissions: { issues?: string; @@ -3300,7 +6186,7 @@ export interface components { metadata?: string; contents?: string; deployments?: string; - [key: string]: string | undefined; + [key: string]: string; }; /** @description The list of events for the GitHub app */ events: string[]; @@ -5350,10 +8236,10 @@ export interface components { * @description The state of the Dependabot alert. * @enum {string} */ - state: "auto_dismissed" | "dismissed" | "fixed" | "open"; + readonly state: "auto_dismissed" | "dismissed" | "fixed" | "open"; /** @description Details for the vulnerable dependency. */ - dependency: { - readonly package?: components["schemas"]["dependabot-alert-package"]; + readonly dependency: { + package?: components["schemas"]["dependabot-alert-package"]; /** @description The full path to the dependency manifest file, relative to the root of the repository. */ readonly manifest_path?: string; /** @@ -5387,16 +8273,16 @@ export interface components { auto_dismissed_at?: components["schemas"]["alert-auto-dismissed-at"]; }; /** @description The security alert number. */ - readonly "alert-number": number; + "alert-number": number; /** @description Details for the vulnerable package. */ - readonly "dependabot-alert-package": { + "dependabot-alert-package": { /** @description The package's language or package management ecosystem. */ readonly ecosystem: string; /** @description The unique package name within its ecosystem. */ readonly name: string; }; /** @description Details for the GitHub Security Advisory. */ - readonly "dependabot-alert-security-advisory": { + "dependabot-alert-security-advisory": { /** @description The unique GitHub Security Advisory ID assigned to the advisory. */ readonly ghsa_id: string; /** @description The unique CVE ID assigned to the advisory. */ @@ -5406,7 +8292,7 @@ export interface components { /** @description A long-form Markdown-supported description of the advisory. */ readonly description: string; /** @description Vulnerable version range information for the advisory. */ - readonly vulnerabilities: readonly components["schemas"]["dependabot-alert-security-vulnerability"][]; + readonly vulnerabilities: components["schemas"]["dependabot-alert-security-vulnerability"][]; /** * @description The severity of the advisory. * @enum {string} @@ -5420,14 +8306,14 @@ export interface components { readonly vector_string: string | null; }; /** @description Details for the advisory pertaining to Common Weakness Enumeration. */ - readonly cwes: readonly { + readonly cwes: { /** @description The unique CWE ID. */ readonly cwe_id: string; /** @description The short, plain text name of the CWE. */ readonly name: string; }[]; /** @description Values that identify this advisory among security information sources. */ - readonly identifiers: readonly { + readonly identifiers: { /** * @description The type of advisory identifier. * @enum {string} @@ -5437,7 +8323,7 @@ export interface components { readonly value: string; }[]; /** @description Links to additional advisory information. */ - readonly references: readonly { + readonly references: { /** * Format: uri * @description The URL of the reference. @@ -5461,8 +8347,8 @@ export interface components { readonly withdrawn_at: string | null; }; /** @description Details pertaining to one vulnerable version range for the advisory. */ - readonly "dependabot-alert-security-vulnerability": { - readonly package: components["schemas"]["dependabot-alert-package"]; + "dependabot-alert-security-vulnerability": { + package: components["schemas"]["dependabot-alert-package"]; /** * @description The severity of the vulnerability. * @enum {string} @@ -5480,37 +8366,37 @@ export interface components { * Format: uri * @description The REST API URL of the alert resource. */ - readonly "alert-url": string; + "alert-url": string; /** * Format: uri * @description The GitHub URL of the alert resource. */ - readonly "alert-html-url": string; + "alert-html-url": string; /** * Format: date-time * @description The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-created-at": string; + "alert-created-at": string; /** * Format: date-time * @description The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-updated-at": string; + "alert-updated-at": string; /** * Format: date-time * @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-dismissed-at": string | null; + "alert-dismissed-at": string | null; /** * Format: date-time * @description The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-fixed-at": string | null; + "alert-fixed-at": string | null; /** * Format: date-time * @description The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-auto-dismissed-at": string | null; + "alert-auto-dismissed-at": string | null; /** Dependabot alert dismissed event */ "webhook-dependabot-alert-dismissed": { /** @enum {string} */ @@ -6207,14 +9093,11 @@ export interface components { ref: string; /** @description Parameter to specify a task to execute */ task: string; - payload: OneOf< - [ - { + payload: + | { [key: string]: unknown; - }, - string, - ] - >; + } + | string; original_environment?: string; /** @description Name for the target deployment environment. */ environment: string; @@ -8048,7 +10931,8 @@ export interface components { id: number; node_id: string; original_environment: string; - payload: string | Record | null; + payload: (null | Record) & + (string | Record); /** * App * @description GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. @@ -9002,8 +11886,8 @@ export interface components { repository_url: string; /** * @description The current state of the discussion. - * `converting` means that the discussion is being converted from an issue. - * `transferring` means that the discussion is being transferred from another repository. + * `converting` means that the discussion is being converted from an issue. + * `transferring` means that the discussion is being transferred from another repository. * @enum {string} */ state: "open" | "closed" | "locked" | "converting" | "transferring"; @@ -9837,24 +12721,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -9890,7 +12774,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -10029,7 +12913,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -10273,11 +13157,15 @@ export interface components { /** @description The ID of the installation. */ id: number; account: - | null | ( - | components["schemas"]["simple-user"] - | components["schemas"]["enterprise"] - ); + | null + | ( + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"] + ) + ) + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"]; /** * @description Describe whether all repositories have been selected or there's a selection involved * @enum {string} @@ -10340,11 +13228,11 @@ export interface components { * App Permissions * @description The permissions granted to the user access token. * @example { - * "contents": "read", - * "issues": "read", - * "deployments": "write", - * "single_file": "read" - * } + * "contents": "read", + * "issues": "read", + * "deployments": "write", + * "single_file": "read" + * } */ "app-permissions": { /** @@ -17785,24 +20673,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -17838,7 +20726,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -17979,7 +20867,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -19992,24 +22880,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -20045,7 +22933,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -20189,7 +23077,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -24297,19 +27185,16 @@ export interface components { | { id?: number | string; name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -25908,22 +28793,19 @@ export interface components { "webhook-projects-v2-item-edited": { /** @enum {string} */ action: "edited"; - changes?: OneOf< - [ - { + changes?: + | { field_value: { field_node_id?: string; field_type?: string; }; - }, - { + } + | { body: { from?: string | null; to?: string | null; }; - }, - ] - >; + }; installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; @@ -26227,24 +29109,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -26280,7 +29162,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -26364,17 +29246,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -26441,7 +29323,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -26449,9 +29331,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -26461,8 +29343,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -26494,7 +29376,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -26570,24 +29452,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -26623,7 +29505,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -26707,17 +29589,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -26784,7 +29666,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -26792,9 +29674,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -26804,8 +29686,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -26837,7 +29719,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -27027,9 +29909,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -27064,8 +29945,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -27115,9 +29996,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -27439,24 +30319,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -27492,7 +30372,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -27576,17 +30456,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -27653,7 +30533,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -27661,9 +30541,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -27673,8 +30553,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -27706,7 +30586,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -27782,24 +30662,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -27835,7 +30715,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -27919,17 +30799,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -27996,7 +30876,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -28004,9 +30884,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -28016,8 +30896,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28049,7 +30929,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -28239,9 +31119,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -28276,8 +31155,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -28327,9 +31206,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -28652,24 +31530,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -28705,7 +31583,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28789,17 +31667,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -28866,7 +31744,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -28874,9 +31752,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -28886,8 +31764,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28919,7 +31797,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -28995,24 +31873,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29048,7 +31926,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29132,17 +32010,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -29209,7 +32087,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -29217,9 +32095,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -29229,8 +32107,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29262,7 +32140,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -29452,9 +32330,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -29489,8 +32366,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -29540,9 +32417,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -29668,41 +32544,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29710,7 +32586,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -29729,41 +32605,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29771,7 +32647,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -29988,24 +32864,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30041,7 +32917,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30125,17 +33001,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -30202,7 +33078,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -30210,9 +33086,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -30222,8 +33098,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30255,7 +33131,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30331,24 +33207,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30384,7 +33260,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30468,17 +33344,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -30545,7 +33421,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -30553,9 +33429,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -30565,8 +33441,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30598,7 +33474,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30788,9 +33664,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -30825,8 +33700,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -30876,9 +33751,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -31022,41 +33896,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31064,7 +33938,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender?: components["schemas"]["simple-user-webhooks"]; @@ -31297,24 +34171,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31350,7 +34224,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31434,17 +34308,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -31511,7 +34385,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -31519,9 +34393,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -31531,8 +34405,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31564,7 +34438,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31640,24 +34514,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31693,7 +34567,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31777,17 +34651,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -31854,7 +34728,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -31862,9 +34736,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -31874,8 +34748,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31907,7 +34781,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32097,9 +34971,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -32134,8 +35007,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -32185,9 +35058,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -32510,24 +35382,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32563,7 +35435,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32647,17 +35519,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32724,7 +35596,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32732,9 +35604,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32744,8 +35616,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -32777,7 +35649,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32853,24 +35725,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32906,7 +35778,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32990,17 +35862,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -33067,7 +35939,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -33075,9 +35947,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -33087,8 +35959,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33120,7 +35992,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33310,9 +36182,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -33347,8 +36218,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -33398,9 +36269,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -33723,24 +36593,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33776,7 +36646,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33860,17 +36730,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -33937,7 +36807,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -33945,9 +36815,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -33957,8 +36827,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33990,7 +36860,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -34066,24 +36936,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34119,7 +36989,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34203,17 +37073,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -34280,7 +37150,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -34288,9 +37158,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -34300,8 +37170,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34333,7 +37203,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -34523,9 +37393,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -34560,8 +37429,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -34611,9 +37480,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -34738,41 +37606,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34780,7 +37648,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -34799,41 +37667,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34841,7 +37709,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -34860,41 +37728,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34902,7 +37770,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -35268,24 +38136,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35321,7 +38189,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35405,17 +38273,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -35482,7 +38350,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -35490,9 +38358,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -35502,8 +38370,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -35535,7 +38403,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35604,24 +38472,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35657,7 +38525,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35706,7 +38574,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; homepage: string | null; /** Format: uri */ hooks_url: string; @@ -35741,17 +38609,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -35818,7 +38686,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -35826,9 +38694,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -35838,8 +38706,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -35871,7 +38739,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36016,9 +38884,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -36053,8 +38920,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -36104,9 +38971,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -36572,24 +39438,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36625,7 +39491,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36709,17 +39575,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -36786,7 +39652,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -36794,9 +39660,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -36806,8 +39672,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -36839,7 +39705,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36908,24 +39774,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36961,7 +39827,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37045,17 +39911,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -37122,7 +39988,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -37130,9 +39996,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -37142,8 +40008,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37175,7 +40041,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37320,9 +40186,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -37357,8 +40222,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -37408,9 +40273,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -37883,24 +40747,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37936,7 +40800,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38020,17 +40884,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -38097,7 +40961,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -38105,9 +40969,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -38117,8 +40981,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -38150,7 +41014,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38219,24 +41083,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38272,7 +41136,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38356,17 +41220,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -38433,7 +41297,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -38441,9 +41305,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -38453,8 +41317,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -38486,7 +41350,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38631,9 +41495,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -38668,8 +41531,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -38719,9 +41582,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -39035,24 +41897,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39088,7 +41950,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39172,17 +42034,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -39249,7 +42111,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -39257,9 +42119,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -39269,8 +42131,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -39302,7 +42164,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39371,24 +42233,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39424,7 +42286,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39508,17 +42370,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -39585,7 +42447,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -39593,9 +42455,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -39605,8 +42467,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -39638,7 +42500,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39783,9 +42645,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -39820,8 +42681,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -39871,9 +42732,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -40274,24 +43134,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40327,7 +43187,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40466,7 +43326,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -40561,24 +43421,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40614,7 +43474,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40753,7 +43613,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -40924,9 +43784,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -40961,8 +43820,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -41012,9 +43871,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -41200,9 +44058,8 @@ export interface components { sender: components["schemas"]["simple-user-webhooks"]; }; /** pull_request review_request_removed event */ - "webhook-pull-request-review-request-removed": OneOf< - [ - { + "webhook-pull-request-review-request-removed": + | { /** @enum {string} */ action: "review_request_removed"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -41413,24 +44270,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41466,7 +44323,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41550,17 +44407,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41627,7 +44484,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41673,7 +44530,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41749,24 +44606,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41802,7 +44659,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41886,17 +44743,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41963,7 +44820,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41971,9 +44828,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -41983,8 +44840,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -42016,7 +44873,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42206,9 +45063,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -42243,8 +45099,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -42294,9 +45150,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -42443,8 +45298,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_request_removed"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -42655,24 +45510,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42708,7 +45563,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42792,17 +45647,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -42869,7 +45724,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42877,9 +45732,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -42889,8 +45744,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -42922,7 +45777,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42998,24 +45853,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43051,7 +45906,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43135,17 +45990,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -43212,7 +46067,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -43220,9 +46075,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -43232,8 +46087,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -43265,7 +46120,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -43455,9 +46310,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -43492,8 +46346,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -43543,9 +46397,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -43710,13 +46563,10 @@ export interface components { url: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request review_requested event */ - "webhook-pull-request-review-requested": OneOf< - [ - { + "webhook-pull-request-review-requested": + | { /** @enum {string} */ action: "review_requested"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -43927,24 +46777,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43980,7 +46830,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44064,17 +46914,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -44141,7 +46991,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -44149,9 +46999,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -44161,8 +47011,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -44194,7 +47044,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44270,24 +47120,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44323,7 +47173,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44407,17 +47257,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -44484,7 +47334,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -44492,9 +47342,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -44504,8 +47354,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -44537,7 +47387,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44727,9 +47577,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -44764,8 +47613,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -44815,9 +47664,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -44964,8 +47812,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_requested"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -45176,24 +48024,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45229,7 +48077,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45313,17 +48161,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -45390,7 +48238,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -45398,9 +48246,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -45410,8 +48258,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -45443,7 +48291,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45519,24 +48367,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45572,7 +48420,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45656,17 +48504,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -45733,7 +48581,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -45741,9 +48589,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -45753,8 +48601,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -45786,7 +48634,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45976,9 +48824,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -46013,8 +48860,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -46064,9 +48911,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -46231,9 +49077,7 @@ export interface components { url?: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request_review submitted event */ "webhook-pull-request-review-submitted": { /** @enum {string} */ @@ -46443,24 +49287,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46496,7 +49340,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46580,17 +49424,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -46657,7 +49501,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -46665,9 +49509,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -46677,8 +49521,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -46710,7 +49554,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46779,24 +49623,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46832,7 +49676,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46916,17 +49760,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -46993,7 +49837,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -47001,9 +49845,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -47013,8 +49857,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -47046,7 +49890,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -47191,9 +50035,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -47228,8 +50071,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -47279,9 +50122,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -47675,24 +50517,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47728,7 +50570,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47872,7 +50714,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -47969,24 +50811,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48022,7 +50864,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48166,7 +51008,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -48339,9 +51181,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -48376,8 +51217,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -48427,9 +51268,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -48895,24 +51735,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48948,7 +51788,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49092,7 +51932,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -49189,24 +52029,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49242,7 +52082,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49386,7 +52226,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -49559,9 +52399,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -49596,8 +52435,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -49647,9 +52486,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -50120,24 +52958,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50173,7 +53011,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50257,17 +53095,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -50334,7 +53172,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -50342,9 +53180,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -50354,8 +53192,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -50387,7 +53225,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -50463,24 +53301,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50516,7 +53354,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50670,7 +53508,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -50678,9 +53516,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -50690,8 +53528,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -50723,7 +53561,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -50913,9 +53751,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -50950,8 +53787,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -51001,9 +53838,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -51363,24 +54199,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51416,7 +54252,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51500,17 +54336,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -51577,7 +54413,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -51585,9 +54421,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -51597,8 +54433,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -51630,7 +54466,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -51706,24 +54542,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51759,7 +54595,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51843,17 +54679,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -51920,7 +54756,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -51928,9 +54764,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -51940,8 +54776,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -51973,7 +54809,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -52163,9 +54999,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -52200,8 +55035,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -52251,9 +55086,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -52592,24 +55426,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52645,7 +55479,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52729,17 +55563,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -52806,7 +55640,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -52814,9 +55648,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -52826,8 +55660,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -52859,7 +55693,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -52935,24 +55769,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52988,7 +55822,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53142,7 +55976,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53150,9 +55984,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -53162,8 +55996,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -53195,7 +56029,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53385,9 +56219,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -53422,8 +56255,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -53473,9 +56306,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -53798,24 +56630,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53851,7 +56683,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53935,17 +56767,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -54012,7 +56844,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -54020,9 +56852,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -54032,8 +56864,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -54065,7 +56897,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -54141,24 +56973,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54194,7 +57026,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54278,17 +57110,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -54355,7 +57187,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -54363,9 +57195,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -54375,8 +57207,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -54408,7 +57240,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -54598,9 +57430,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -54635,8 +57466,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -54686,9 +57517,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -54943,24 +57773,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54996,7 +57826,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -55140,7 +57970,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -55262,19 +58092,23 @@ export interface components { name?: string; version?: string; npm_user?: string; - author?: string | Record | null; - bugs?: string | Record | null; + author?: (null | Record) & + (string | Record); + bugs?: (null | Record) & + (string | Record); dependencies?: Record; dev_dependencies?: Record; peer_dependencies?: Record; optional_dependencies?: Record; description?: string; - dist?: string | Record | null; + dist?: (null | Record) & + (string | Record); git_head?: string; homepage?: string; license?: string; main?: string; - repository?: string | Record | null; + repository?: (null | Record) & + (string | Record); scripts?: Record; id?: string; node_version?: string; @@ -55287,7 +58121,8 @@ export interface components { files?: string[]; bin?: Record; man?: Record; - directories?: string | Record | null; + directories?: (null | Record) & + (string | Record); os?: string[]; cpu?: string[]; readme?: string; @@ -55299,21 +58134,19 @@ export interface components { } | null; nuget_metadata?: | { - id?: string | Record | number | null; + id?: (null | Record) & + (string | Record | number); name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -57749,34 +60582,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -57796,7 +60629,7 @@ export interface components { * @description Whether anonymous git access is allowed. * @default true */ - anonymous_access_enabled?: boolean; + anonymous_access_enabled: boolean; code_of_conduct?: components["schemas"]["code-of-conduct-simple"]; security_and_analysis?: components["schemas"]["security-and-analysis"]; }; @@ -57904,7 +60737,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template?: boolean; + is_template: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -57932,7 +60765,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; /** * @description Whether the repository is archived. * @default false @@ -57944,7 +60777,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility?: string; + visibility: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -57955,7 +60788,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; template_repository?: { id?: number; node_id?: string; @@ -58065,34 +60898,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -58105,59 +60938,59 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch?: boolean; + allow_update_branch: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -58165,14 +60998,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required?: boolean; + web_commit_signoff_required: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -59290,24 +62123,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59343,7 +62176,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59482,7 +62315,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -59603,24 +62436,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59656,7 +62489,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59795,7 +62628,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -59916,24 +62749,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59969,7 +62802,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -60108,7 +62941,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -60260,24 +63093,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -60313,7 +63146,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -60452,7 +63285,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -60573,24 +63406,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -60626,7 +63459,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -60765,7 +63598,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -63220,20 +66053,11 @@ export interface components { headers: never; pathItems: never; } - export type $defs = Record; - -export type external = Record; - export interface operations { - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.10/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was created. - */ "branch-protection-rule/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63254,6 +66078,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63263,18 +66089,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.10/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was deleted. - */ "branch-protection-rule/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63295,6 +66119,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63304,18 +66130,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.10/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was edited. - */ "branch-protection-rule/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63336,6 +66160,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63345,13 +66171,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](https://docs.github.com/enterprise-server@3.10/admin/enterprise-management/caching-repositories/about-repository-caching)." */ "cache-sync": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63372,6 +66201,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63381,24 +66212,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.10/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run was completed, and a conclusion is available. - */ "check-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63419,6 +66242,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63428,24 +66253,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.10/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A new check run was created. - */ "check-run/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63466,6 +66283,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63475,24 +66294,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.10/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.10/developers/apps/guides/creating-ci-tests-with-the-checks-api)." - */ "check-run/requested-action": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63513,6 +66324,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63522,24 +66335,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.10/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. - */ "check-run/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63560,6 +66365,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63569,24 +66376,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.10/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description All check runs in a check suite have completed, and a conclusion is available. - */ "check-suite/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63607,6 +66406,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63616,24 +66417,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.10/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.10/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-server@3.10/rest/checks/runs#create-a-check-run)" in the REST API documentation. - */ "check-suite/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63654,6 +66447,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63663,24 +66458,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.10/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.10/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-server@3.10/rest/checks/suites#create-a-check-suite)" in the REST API documentation. - */ "check-suite/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63701,6 +66488,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63710,18 +66499,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. - */ "code-scanning-alert/appeared-in-branch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63742,6 +66529,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63751,18 +66540,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone closed a code scanning alert. - */ "code-scanning-alert/closed-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63783,6 +66570,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63792,18 +66581,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was created in a repository. - */ "code-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63824,6 +66611,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63833,18 +66622,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was fixed in a branch by a commit. - */ "code-scanning-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63865,6 +66652,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63874,18 +66663,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously fixed code scanning alert reappeared in a branch. - */ "code-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63906,6 +66693,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63915,18 +66704,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone reopened a code scanning alert. - */ "code-scanning-alert/reopened-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63947,6 +66734,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63956,20 +66745,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-server@3.10/rest/commits/comments)" in the REST API documentation. - * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description Someone commented on a commit. - */ "commit-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63990,6 +66775,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63999,21 +66786,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is created. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ create: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64034,6 +66816,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64043,20 +66827,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Note**: This event will not occur when more than three tags are deleted at once. - */ delete: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64077,6 +66857,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64086,22 +66868,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. - */ "dependabot-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64122,6 +66898,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64131,22 +66909,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually closed. - */ "dependabot-alert/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64167,6 +66939,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64176,22 +66950,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change removed a vulnerability. - */ "dependabot-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64212,6 +66980,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64221,22 +66991,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. - */ "dependabot-alert/reintroduced": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64257,6 +67021,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64266,22 +67032,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.10/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually reopened. - */ "dependabot-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64302,6 +67062,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64311,18 +67073,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.10/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.10/rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was created. - */ "deploy-key/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64343,6 +67103,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64352,18 +67114,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.10/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.10/rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was deleted. - */ "deploy-key/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64384,6 +67144,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64393,20 +67155,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.10/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment status, use the `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment was created. - */ "deployment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64427,6 +67185,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64436,18 +67196,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment protection rules. For more information, see "[Using environments for deployment](https://docs.github.com/enterprise-server@3.10/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules)." For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.10/rest/deployments/environments). - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment protection rule was requested for an environment. - */ "deployment-protection-rule/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64468,6 +67226,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64477,20 +67237,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.10/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was approved. - */ "deployment-review/approved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64511,6 +67267,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64520,20 +67278,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.10/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was rejected. - */ "deployment-review/rejected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64554,6 +67308,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64563,20 +67319,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.10/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was requested. - */ "deployment-review/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64597,6 +67349,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64606,20 +67360,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.10/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation, use the `deployment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A new deployment status was created. - */ "deployment-status/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64640,6 +67390,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64649,22 +67401,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was marked as the answer. - */ "discussion/answered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64685,6 +67431,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64694,22 +67442,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The category of a discussion was changed. - */ "discussion/category-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64730,6 +67472,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64739,22 +67483,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was closed. - */ "discussion/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64775,6 +67513,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64784,22 +67524,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was created. - */ "discussion-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64820,6 +67554,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64829,22 +67565,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was deleted. - */ "discussion-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64865,6 +67595,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64874,22 +67606,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was edited. - */ "discussion-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64910,6 +67636,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64919,22 +67647,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was created. - */ "discussion/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64955,6 +67677,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64964,22 +67688,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was deleted. - */ "discussion/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65000,6 +67718,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65009,22 +67729,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The title or body on a discussion was edited, or the category of the discussion was changed. - */ "discussion/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65045,6 +67759,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65054,22 +67770,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was added to a discussion. - */ "discussion/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65090,6 +67800,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65099,22 +67811,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was locked. - */ "discussion/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65135,6 +67841,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65144,22 +67852,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was pinned. - */ "discussion/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65180,6 +67882,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65189,22 +67893,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was reopened. - */ "discussion/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65225,6 +67923,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65234,22 +67934,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was transferred to another repository. - */ "discussion/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65270,6 +67964,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65279,22 +67975,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was unmarked as the answer. - */ "discussion/unanswered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65315,6 +68005,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65324,22 +68016,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was removed from a discussion. - */ "discussion/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65360,6 +68046,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65369,22 +68057,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unlocked. - */ "discussion/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65405,6 +68087,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65414,22 +68098,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unpinned. - */ "discussion/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65450,6 +68128,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65459,16 +68139,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.10/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." - * @description Anonymous Git read access was disabled. - */ "enterprise/anonymous-access-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65489,6 +68169,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65498,16 +68180,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.10/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." - * @description Anonymous Git read access was enabled. - */ "enterprise/anonymous-access-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65528,6 +68210,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65537,17 +68221,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.10/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.10/rest/repos/forks)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ fork: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65568,6 +68251,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65577,20 +68262,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. - * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. - * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.10/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." - * @description Someone revoked their authorization of a GitHub App. - */ "github-app-authorization/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65611,6 +68292,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65620,17 +68303,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.10/communities/documenting-your-project-with-wikis/about-wikis)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ gollum: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65651,6 +68333,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65660,18 +68344,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. - * @description Someone installed a GitHub App on a user or organization account. - */ "installation/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65692,6 +68374,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65701,18 +68385,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. - * @description Someone uninstalled a GitHub App from their user or organization account. - */ "installation/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65733,6 +68415,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65742,18 +68426,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. - * @description Someone granted new permissions to a GitHub App. - */ "installation/new-permissions-accepted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65774,6 +68456,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65783,18 +68467,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. - * @description A GitHub App installation was granted access to one or more repositories. - */ "installation-repositories/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65815,6 +68497,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65824,18 +68508,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. - * @description Access to one or more repositories was revoked for a GitHub App installation. - */ "installation-repositories/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65856,6 +68538,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65865,18 +68549,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. - * @description Someone blocked access by a GitHub App to their user or organization account. - */ "installation/suspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65897,6 +68579,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65906,16 +68590,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. - * @description Somebody renamed the user or organization account that a GitHub App is installed on. - */ "installation-target/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65936,6 +68620,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65945,18 +68631,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. - * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. - */ "installation/unsuspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65977,6 +68661,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65986,20 +68672,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.10/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.10/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was created. - */ "issue-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66020,6 +68702,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66029,20 +68713,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.10/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.10/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was deleted. - */ "issue-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66063,6 +68743,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66072,20 +68754,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.10/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.10/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was edited. - */ "issue-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66106,6 +68784,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66115,20 +68795,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was assigned to a user. - */ "issues/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66149,6 +68825,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66158,20 +68836,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was closed. - */ "issues/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66192,6 +68866,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66201,20 +68877,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was deleted. - */ "issues/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66235,6 +68907,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66244,20 +68918,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was removed from a milestone. - */ "issues/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66278,6 +68948,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66287,20 +68959,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description The title or body on an issue was edited. - */ "issues/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66321,6 +68989,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66330,20 +69000,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was added to an issue. - */ "issues/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66364,6 +69030,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66373,20 +69041,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.10/communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66407,6 +69071,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66416,20 +69082,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was added to a milestone. - */ "issues/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66450,6 +69112,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66459,20 +69123,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. - */ "issues/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66493,6 +69153,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66502,20 +69164,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66536,6 +69194,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66545,20 +69205,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A closed issue was reopened. - */ "issues/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66579,6 +69235,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66588,20 +69246,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." - */ "issues/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66622,6 +69276,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66631,20 +69287,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A user was unassigned from an issue. - */ "issues/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66665,6 +69317,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66674,20 +69328,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was removed from an issue. - */ "issues/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66708,6 +69358,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66717,20 +69369,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.10/communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66751,6 +69399,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66760,20 +69410,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66794,6 +69440,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66803,20 +69451,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.10/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was created. - */ "label/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66837,6 +69481,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66846,20 +69492,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.10/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was deleted. - */ "label/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66880,6 +69522,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66889,20 +69533,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.10/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label's name, description, or color was changed. - */ "label/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66923,6 +69563,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66932,18 +69574,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.10/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A GitHub user accepted an invitation to a repository. - */ "member/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66964,6 +69604,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66973,18 +69615,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.10/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description Permissions were changed for a collaborator on a repository. - */ "member/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67005,6 +69645,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67014,18 +69656,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.10/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A collaborator was removed from a repository. - */ "member/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67046,6 +69686,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67055,18 +69697,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.10/rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was added to a team. - */ "membership/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67087,6 +69727,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67096,18 +69738,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.10/rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was removed from a team. - */ "membership/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67128,6 +69768,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67137,18 +69779,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a webhook itself. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. - * @description The webhook was deleted. - */ "meta/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67169,6 +69809,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67178,20 +69820,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.10/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was closed. - */ "milestone/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67212,6 +69850,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67221,20 +69861,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.10/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was created. - */ "milestone/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67255,6 +69891,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67264,20 +69902,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.10/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was deleted. - */ "milestone/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67298,6 +69932,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67307,20 +69943,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.10/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was edited. - */ "milestone/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67341,6 +69973,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67350,20 +69984,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.10/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was opened. - */ "milestone/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67384,6 +70014,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67393,20 +70025,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.10/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.10/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization was deleted. - */ "organization/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67427,6 +70055,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67436,20 +70066,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.10/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.10/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member accepted an invitation to join an organization. - */ "organization/member-added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67470,6 +70096,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67479,20 +70107,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.10/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.10/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was invited to join the organization. - */ "organization/member-invited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67513,6 +70137,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67522,20 +70148,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.10/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.10/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was removed from the organization. - */ "organization/member-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67556,6 +70178,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67565,20 +70189,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.10/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.10/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name of an organization was changed. - */ "organization/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67599,6 +70219,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67608,18 +70230,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.10/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.10/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A package was published to a registry. - */ "package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67640,6 +70260,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67649,18 +70271,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.10/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.10/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A previously published package was updated. - */ "package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67681,6 +70301,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67690,17 +70312,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.10/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.10/rest/pages)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ "page-build": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67721,6 +70342,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67730,20 +70353,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.10/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was approved. - */ "personal-access-token-request/approved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67760,6 +70379,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67769,20 +70390,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.10/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was cancelled by the requester. - */ "personal-access-token-request/cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67799,6 +70416,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67808,20 +70427,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.10/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was created. - */ "personal-access-token-request/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67838,6 +70453,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67847,20 +70464,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.10/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was denied. - */ "personal-access-token-request/denied": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67877,6 +70490,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67886,13 +70501,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ ping: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67913,6 +70531,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67922,20 +70542,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note in a classic project was converted to an issue. - */ "project-card/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67956,6 +70572,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67965,20 +70583,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card was added to a classic project. - */ "project-card/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67999,6 +70613,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68008,20 +70624,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a classic project was deleted. - */ "project-card/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68042,6 +70654,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68051,20 +70665,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note on a classic project was edited. - */ "project-card/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68085,6 +70695,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68094,20 +70706,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a classic project was moved to another column or to another position in its column. - */ "project-card/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68128,6 +70736,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68137,20 +70747,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was closed. - */ "project/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68171,6 +70777,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68180,20 +70788,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was added to a classic project. - */ "project-column/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68214,6 +70818,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68223,20 +70829,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was deleted from a classic project. - */ "project-column/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68257,6 +70859,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68266,20 +70870,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name of a column on a classic project was changed. - */ "project-column/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68300,6 +70900,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68309,20 +70911,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was moved to a new position on a classic project. - */ "project-column/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68343,6 +70941,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68352,20 +70952,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was created. - */ "project/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68386,6 +70982,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68395,20 +70993,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was deleted. - */ "project/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68429,6 +71023,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68438,20 +71034,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name or description of a classic project was changed. - */ "project/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68472,6 +71064,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68481,20 +71075,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was closed. - */ "project/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68515,6 +71105,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68524,22 +71116,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was closed. - */ "projects-v2/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68560,6 +71146,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68569,22 +71157,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was created. - */ "projects-v2/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68605,6 +71187,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68614,22 +71198,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was deleted. - */ "projects-v2/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68650,6 +71228,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68659,22 +71239,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The title, description, or README of a project in the organization was changed. - */ "projects-v2/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68695,6 +71269,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68704,22 +71280,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - */ "projects-v2-item/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68740,6 +71310,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68749,22 +71321,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A draft issue in an organization project was converted to an issue. - */ "projects-v2-item/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68785,6 +71351,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68794,22 +71362,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item was added to a project in the organization. - */ "projects-v2-item/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68830,6 +71392,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68839,22 +71403,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item was deleted from a project in the organization. - */ "projects-v2-item/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68875,6 +71433,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68884,22 +71444,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. - */ "projects-v2-item/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68920,6 +71474,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68929,22 +71485,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. - */ "projects-v2-item/reordered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68965,6 +71515,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68974,22 +71526,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - */ "projects-v2-item/restored": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69010,6 +71556,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69019,22 +71567,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was reopened. - */ "projects-v2/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69055,6 +71597,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69064,17 +71608,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ public: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69095,6 +71638,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69104,20 +71649,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was assigned to a user. - */ "pull-request/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69138,6 +71679,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69147,20 +71690,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69181,6 +71720,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69190,20 +71731,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69224,6 +71761,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69233,20 +71772,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. - */ "pull-request/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69267,6 +71802,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69276,20 +71813,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/converted-to-draft": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69310,6 +71843,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69319,20 +71854,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was removed from a milestone. - */ "pull-request/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69353,6 +71884,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69362,20 +71895,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The title or body of a pull request was edited. - */ "pull-request/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69396,6 +71925,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69405,20 +71936,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was added to a pull request. - */ "pull-request/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69439,6 +71966,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69448,20 +71977,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.10/communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69482,6 +72007,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69491,20 +72018,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was added to a milestone. - */ "pull-request/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69525,6 +72048,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69534,20 +72059,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was created - */ "pull-request/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69568,6 +72089,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69577,20 +72100,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/ready-for-review": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69611,6 +72130,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69620,20 +72141,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously closed pull request was reopened. - */ "pull-request/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69654,6 +72171,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69663,20 +72182,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was created. - */ "pull-request-review-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69697,6 +72212,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69706,20 +72223,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was deleted. - */ "pull-request-review-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69740,6 +72253,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69749,20 +72264,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The content of a comment on a pull request diff was changed. - */ "pull-request-review-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69783,6 +72294,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69792,20 +72305,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was dismissed. - */ "pull-request-review/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69826,6 +72335,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69835,20 +72346,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The body comment on a pull request review was edited. - */ "pull-request-review/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69869,6 +72376,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69878,20 +72387,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A request for review by a person or team was removed from a pull request. - */ "pull-request/review-request-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69912,6 +72417,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69921,20 +72428,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." - */ "pull-request/review-requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69955,6 +72458,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69964,20 +72469,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was submitted. - */ "pull-request-review/submitted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69998,6 +72499,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70007,20 +72510,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment thread on a pull request was marked as resolved. - */ "pull-request-review-thread/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70041,6 +72540,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70050,20 +72551,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously resolved comment thread on a pull request was marked as unresolved. - */ "pull-request-review-thread/unresolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70084,6 +72581,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70093,20 +72592,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. - */ "pull-request/synchronize": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70127,6 +72622,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70136,20 +72633,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A user was unassigned from a pull request. - */ "pull-request/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70170,6 +72663,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70179,20 +72674,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was removed from a pull request. - */ "pull-request/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70213,6 +72704,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70222,20 +72715,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.10/communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70256,6 +72745,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70265,21 +72756,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Note**: An event will not be created when more than three tags are pushed at once. - */ push: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70300,6 +72786,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70309,20 +72797,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.10/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.10/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * **Note**: GitHub recommends that you use the newer `package` event instead. - * @description A package was published to a registry. - */ "registry-package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70343,6 +72827,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70352,20 +72838,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.10/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.10/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * **Note**: GitHub recommends that you use the newer `package` event instead. - * @description A package that was previously published to a registry was updated. - */ "registry-package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70386,6 +72868,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70395,18 +72879,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. - */ "release/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70427,6 +72909,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70436,18 +72920,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft release was deleted. - */ "release/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70468,6 +72950,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70477,18 +72961,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." - */ "release/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70509,6 +72991,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70518,18 +73002,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. - */ "release/prereleased": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70550,6 +73032,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70559,18 +73043,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft of a release was published. - */ "release/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70591,6 +73073,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70600,18 +73084,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was published, or a pre-release was changed to a release. - */ "release/released": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70632,6 +73114,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70641,18 +73125,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release or pre-release was unpublished. - */ "release/unpublished": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70673,6 +73155,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70682,18 +73166,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." - */ "repository/anonymous-access-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70714,6 +73196,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70723,18 +73207,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." - */ "repository/anonymous-access-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70755,6 +73237,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70764,18 +73248,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was archived. - */ "repository/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70796,6 +73278,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70805,18 +73289,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was created. - */ "repository/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70837,6 +73319,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70846,18 +73330,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. - */ "repository/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70878,6 +73360,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70887,18 +73371,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.10/rest/repos/repos#create-a-repository-dispatch-event). - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - */ "repository-dispatch/sample.collected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70919,6 +73401,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70928,18 +73412,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The topics, default branch, description, or homepage of a repository was changed. - */ "repository/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70960,6 +73442,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70969,18 +73453,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `private`. - */ "repository/privatized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71001,6 +73483,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71010,18 +73494,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `public`. - */ "repository/publicized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71042,6 +73524,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71051,18 +73535,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The name of a repository was changed. - */ "repository/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71083,6 +73565,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71092,18 +73576,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. - */ "repository/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71124,6 +73606,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71133,18 +73617,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A previously archived repository was unarchived. - */ "repository/unarchived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71165,6 +73647,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71174,18 +73658,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was created. - */ "repository-vulnerability-alert/create": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71206,6 +73688,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71215,18 +73699,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was dismissed. - */ "repository-vulnerability-alert/dismiss": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71247,6 +73729,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71256,18 +73740,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A previously dismissed or resolved repository vulnerability alert was reopened. - */ "repository-vulnerability-alert/reopen": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71288,6 +73770,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71297,18 +73781,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was marked as resolved. - */ "repository-vulnerability-alert/resolve": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71329,6 +73811,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71338,20 +73822,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.10/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.10/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was created. - */ "secret-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71372,6 +73852,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71381,22 +73863,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. - * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.10/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.10/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. - */ "secret-scanning-alert-location/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71417,6 +73893,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71426,20 +73904,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.10/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.10/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A previously closed secret scanning alert was reopened. - */ "secret-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71460,6 +73934,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71469,20 +73945,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.10/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.10/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was closed. - */ "secret-scanning-alert/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71503,6 +73975,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71512,20 +73986,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.10/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.10/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was marked as revoked. - */ "secret-scanning-alert/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71546,6 +74016,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71555,18 +74027,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.10/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description A security advisory was published to the GitHub community. - */ "security-advisory/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71587,6 +74057,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71596,18 +74068,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.10/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. - */ "security-advisory/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71628,6 +74098,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71637,18 +74109,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.10/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description A previously published security advisory was withdrawn. - */ "security-advisory/withdrawn": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71669,6 +74139,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71678,17 +74150,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.10/code-security/getting-started/github-security-features)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ "security-and-analysis": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71709,6 +74180,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71718,20 +74191,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsorship was cancelled and the last billing cycle has ended. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71752,6 +74221,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71761,18 +74232,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. - */ "sponsorship/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71793,6 +74262,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71802,18 +74273,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. - */ "sponsorship/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71834,6 +74303,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71843,20 +74314,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/pending-cancellation": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71877,6 +74344,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71886,18 +74355,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. - */ "sponsorship/pending-tier-change": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71918,6 +74385,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71927,18 +74396,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.10/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. - */ "sponsorship/tier-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71959,6 +74426,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71968,18 +74437,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.10/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.10/rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone starred a repository. - */ "star/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72000,6 +74467,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72009,18 +74478,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.10/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.10/rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone unstarred the repository. - */ "star/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72041,6 +74508,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72050,17 +74519,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.10/rest/commits/statuses)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ status: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72081,6 +74549,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72090,20 +74560,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." - * - * For activity relating to teams, see the `teams` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ "team-add": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72124,6 +74590,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72133,19 +74601,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was granted access to a repository. - */ "team/added-to-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72166,6 +74631,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72175,19 +74642,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was created. - */ "team/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72208,6 +74672,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72217,19 +74683,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was deleted. - */ "team/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72250,6 +74713,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72259,19 +74724,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name, description, or visibility of a team was changed. - */ "team/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72292,6 +74754,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72301,19 +74765,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team's access to a repository was removed. - */ "team/removed-from-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72334,6 +74795,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72343,16 +74806,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to user accounts in an enterprise. - * @description A user account was added to the enterprise. - */ "user/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72373,6 +74836,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72382,16 +74847,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to user accounts in an enterprise. - * @description A user account was removed from the enterprise. - */ "user/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72412,6 +74877,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72421,18 +74888,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-server@3.10/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-server@3.10/rest/activity/watching)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone started watching the repository. - */ "watch/started": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72453,6 +74918,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72462,19 +74929,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.10/actions/managing-workflow-runs/manually-running-a-workflow)." - * - * For activity relating to workflow runs, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ "workflow-dispatch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72495,6 +74959,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72504,20 +74970,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.10/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. - */ "workflow-job/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72538,6 +75000,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72547,20 +75011,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.10/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run started processing on a runner. - */ "workflow-job/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72581,6 +75041,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72590,20 +75052,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.10/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run was created. - */ "workflow-job/queued": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72624,6 +75082,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72633,20 +75093,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.10/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run was created and is waiting for approvals. - */ "workflow-job/waiting": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72667,6 +75123,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72676,20 +75134,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.10/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. - */ "workflow-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72710,6 +75164,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72719,20 +75175,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.10/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run started processing on a runner. - */ "workflow-run/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72753,6 +75205,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72762,20 +75216,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.10/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run was triggered. - */ "workflow-run/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72796,6 +75246,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72805,7 +75257,10 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; diff --git a/packages/openapi-webhooks-types-ghes-3.7/types.d.ts b/packages/openapi-webhooks-types-ghes-3.7/types.d.ts index cca70f7..5fbcb77 100644 --- a/packages/openapi-webhooks-types-ghes-3.7/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.7/types.d.ts @@ -1,2268 +1,4984 @@ -/** - * This file was auto-generated by openapi-typescript. - * Do not make direct changes to the file. - */ - -/** OneOf type helpers */ -type Without = { [P in Exclude]?: never }; -type XOR = T | U extends object - ? (Without & U) | (Without & T) - : T | U; -type OneOf = T extends [infer Only] - ? Only - : T extends [infer A, infer B, ...infer Rest] - ? OneOf<[XOR, ...Rest]> - : never; - export type paths = Record; - export interface webhooks { "branch-protection-rule-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.7/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.7/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was created. */ post: operations["branch-protection-rule/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-rule-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.7/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.7/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was deleted. */ post: operations["branch-protection-rule/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-rule-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.7/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.7/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was edited. */ post: operations["branch-protection-rule/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "cache-sync": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](https://docs.github.com/enterprise-server@3.7/admin/enterprise-management/caching-repositories/about-repository-caching)." */ post: operations["cache-sync"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.7/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run was completed, and a conclusion is available. */ post: operations["check-run/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.7/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A new check run was created. */ post: operations["check-run/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-requested-action": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.7/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.7/developers/apps/guides/creating-ci-tests-with-the-checks-api)." */ post: operations["check-run/requested-action"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.7/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. */ post: operations["check-run/rerequested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.7/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description All check runs in a check suite have completed, and a conclusion is available. */ post: operations["check-suite/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.7/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.7/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-server@3.7/rest/checks/runs#create-a-check-run)" in the REST API documentation. */ post: operations["check-suite/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.7/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.7/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-server@3.7/rest/checks/suites#create-a-check-suite)" in the REST API documentation. */ post: operations["check-suite/rerequested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-appeared-in-branch": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. */ post: operations["code-scanning-alert/appeared-in-branch"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-closed-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone closed a code scanning alert. */ post: operations["code-scanning-alert/closed-by-user"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was created in a repository. */ post: operations["code-scanning-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was fixed in a branch by a commit. */ post: operations["code-scanning-alert/fixed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously fixed code scanning alert reappeared in a branch. */ post: operations["code-scanning-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-reopened-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone reopened a code scanning alert. */ post: operations["code-scanning-alert/reopened-by-user"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "commit-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-server@3.7/rest/commits/comments)" in the REST API documentation. * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. + * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description Someone commented on a commit. */ post: operations["commit-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; create: { - /** - * This event occurs when a Git branch or tag is created. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a Git branch or tag is created. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ + * **Notes**: + * - This event will not occur when more than three tags are created at once. + * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. */ post: operations["create"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; delete: { - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including + * branch and tag deletions, use the [`push`](#push) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Note**: This event will not occur when more than three tags are deleted at once. - */ + * **Note**: This event will not occur when more than three tags are deleted at once. */ post: operations["delete"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.7/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.7/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.7/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.7/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.7/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.7/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-reintroduced": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.7/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.7/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.7/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.7/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deploy-key-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.7/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.7/rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was created. */ post: operations["deploy-key/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deploy-key-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.7/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.7/rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was deleted. */ post: operations["deploy-key/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.7/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.7/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment status, use the `deployment_status` event. + * For activity relating to deployment status, use the `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment was created. */ post: operations["deployment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-approved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.7/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.7/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was approved. */ post: operations["deployment-review/approved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-rejected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.7/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.7/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was rejected. */ post: operations["deployment-review/rejected"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.7/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.7/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was requested. */ post: operations["deployment-review/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-status-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.7/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.7/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation, use the `deployment` event. + * For activity relating to deployment creation, use the `deployment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A new deployment status was created. */ post: operations["deployment-status/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-answered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-category-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was created. */ post: operations["discussion/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was deleted. */ post: operations["discussion/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was locked. */ post: operations["discussion/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was pinned. */ post: operations["discussion/pinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unanswered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "enterprise-anonymous-access-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.7/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was disabled. */ post: operations["enterprise/anonymous-access-disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "enterprise-anonymous-access-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.7/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was enabled. */ post: operations["enterprise/anonymous-access-enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; fork: { - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.7/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.7/rest/repos/forks)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.7/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.7/rest/repos/forks)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["fork"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "github-app-authorization-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. + * A GitHub App receives this webhook by default and cannot unsubscribe from this event. * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.7/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." + * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.7/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." * @description Someone revoked their authorization of a GitHub App. */ post: operations["github-app-authorization/revoked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; gollum: { - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.7/communities/documenting-your-project-with-wikis/about-wikis)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.7/communities/documenting-your-project-with-wikis/about-wikis)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["gollum"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. * @description Someone installed a GitHub App on a user or organization account. */ post: operations["installation/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. * @description Someone uninstalled a GitHub App from their user or organization account. */ post: operations["installation/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-new-permissions-accepted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. * @description Someone granted new permissions to a GitHub App. */ post: operations["installation/new-permissions-accepted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-repositories-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. * @description A GitHub App installation was granted access to one or more repositories. */ post: operations["installation-repositories/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-repositories-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. * @description Access to one or more repositories was revoked for a GitHub App installation. */ post: operations["installation-repositories/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-suspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. * @description Someone blocked access by a GitHub App to their user or organization account. */ post: operations["installation/suspend"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-target-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. * @description Somebody renamed the user or organization account that a GitHub App is installed on. */ post: operations["installation-target/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-unsuspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. */ post: operations["installation/unsuspend"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.7/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.7/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.7/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was created. */ post: operations["issue-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.7/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.7/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.7/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was deleted. */ post: operations["issue-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.7/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.7/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.7/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was edited. */ post: operations["issue-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was assigned to a user. */ post: operations["issues/assigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was closed. */ post: operations["issues/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was deleted. */ post: operations["issues/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was removed from a milestone. */ post: operations["issues/demilestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description The title or body on an issue was edited. */ post: operations["issues/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was added to an issue. */ post: operations["issues/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.7/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was added to a milestone. */ post: operations["issues/milestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. */ post: operations["issues/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/pinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A closed issue was reopened. */ post: operations["issues/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." */ post: operations["issues/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A user was unassigned from an issue. */ post: operations["issues/unassigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was removed from an issue. */ post: operations["issues/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.7/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/unpinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.7/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was created. */ post: operations["label/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.7/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was deleted. */ post: operations["label/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.7/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label's name, description, or color was changed. */ post: operations["label/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.7/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.7/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A GitHub user accepted an invitation to a repository. */ post: operations["member/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.7/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.7/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description Permissions were changed for a collaborator on a repository. */ post: operations["member/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.7/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.7/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A collaborator was removed from a repository. */ post: operations["member/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "membership-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.7/rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was added to a team. */ post: operations["membership/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "membership-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.7/rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was removed from a team. */ post: operations["membership/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "meta-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a webhook itself. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. * @description The webhook was deleted. */ post: operations["meta/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.7/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was closed. */ post: operations["milestone/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.7/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was created. */ post: operations["milestone/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.7/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was deleted. */ post: operations["milestone/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.7/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was edited. */ post: operations["milestone/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.7/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was opened. */ post: operations["milestone/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.7/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.7/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization was deleted. */ post: operations["organization/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.7/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.7/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member accepted an invitation to join an organization. */ post: operations["organization/member-added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-invited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.7/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.7/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was invited to join the organization. */ post: operations["organization/member-invited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.7/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.7/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was removed from the organization. */ post: operations["organization/member-removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.7/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.7/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name of an organization was changed. */ post: operations["organization/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.7/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.7/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A package was published to a registry. */ post: operations["package/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.7/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.7/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A previously published package was updated. */ post: operations["package/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "page-build": { - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.7/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.7/rest/pages)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.7/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.7/rest/pages)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. */ post: operations["page-build"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; ping: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ post: operations["ping"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note in a classic project was converted to an issue. */ post: operations["project-card/converted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card was added to a classic project. */ post: operations["project-card/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a classic project was deleted. */ post: operations["project-card/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note on a classic project was edited. */ post: operations["project-card/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a classic project was moved to another column or to another position in its column. */ post: operations["project-card/moved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was closed. */ post: operations["project/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was added to a classic project. */ post: operations["project-column/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was deleted from a classic project. */ post: operations["project-column/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name of a column on a classic project was changed. */ post: operations["project-column/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was moved to a new position on a classic project. */ post: operations["project-column/moved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was created. */ post: operations["project/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was deleted. */ post: operations["project/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name or description of a classic project was changed. */ post: operations["project/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was closed. */ post: operations["project/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/archived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A draft issue in an organization project was converted to an issue. */ post: operations["projects-v2-item/converted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was added to a project in the organization. */ post: operations["projects-v2-item/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was deleted from a project in the organization. */ post: operations["projects-v2-item/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. */ post: operations["projects-v2-item/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-reordered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. */ post: operations["projects-v2-item/reordered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-restored": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/restored"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; public: { - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.7/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.7/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. */ post: operations["public"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was assigned to a user. */ post: operations["pull-request/assigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-auto-merge-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-auto-merge-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. */ post: operations["pull-request/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-converted-to-draft": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/converted-to-draft"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was removed from a milestone. */ post: operations["pull-request/demilestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The title or body of a pull request was edited. */ post: operations["pull-request/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was added to a pull request. */ post: operations["pull-request/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.7/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was added to a milestone. */ post: operations["pull-request/milestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was created */ post: operations["pull-request/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-ready-for-review": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/ready-for-review"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously closed pull request was reopened. */ post: operations["pull-request/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.7/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was created. */ post: operations["pull-request-review-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.7/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was deleted. */ post: operations["pull-request-review-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.7/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The content of a comment on a pull request diff was changed. */ post: operations["pull-request-review-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.7/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was dismissed. */ post: operations["pull-request-review/dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.7/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The body comment on a pull request review was edited. */ post: operations["pull-request-review/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-request-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A request for review by a person or team was removed from a pull request. */ post: operations["pull-request/review-request-removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." */ post: operations["pull-request/review-requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-submitted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.7/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was submitted. */ post: operations["pull-request-review/submitted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-thread-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.7/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment thread on a pull request was marked as resolved. */ post: operations["pull-request-review-thread/resolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-thread-unresolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.7/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously resolved comment thread on a pull request was marked as unresolved. */ post: operations["pull-request-review-thread/unresolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-synchronize": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. */ post: operations["pull-request/synchronize"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A user was unassigned from a pull request. */ post: operations["pull-request/unassigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was removed from a pull request. */ post: operations["pull-request/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.7/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; push: { - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, + * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch + * and tag deletions, use the [`delete`](#delete) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Note**: An event will not be created when more than three tags are pushed at once. - */ + * **Note**: An event will not be created when more than three tags are pushed at once. */ post: operations["push"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "registry-package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.7/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.7/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * **Note**: GitHub recommends that you use the newer `package` event instead. + * **Note**: GitHub recommends that you use the newer `package` event instead. * @description A package was published to a registry. */ post: operations["registry-package/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "registry-package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.7/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.7/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * **Note**: GitHub recommends that you use the newer `package` event instead. + * **Note**: GitHub recommends that you use the newer `package` event instead. * @description A package that was previously published to a registry was updated. */ post: operations["registry-package/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. */ post: operations["release/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft release was deleted. */ post: operations["release/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." */ post: operations["release/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-prereleased": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. */ post: operations["release/prereleased"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft of a release was published. */ post: operations["release/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-released": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was published, or a pre-release was changed to a release. */ post: operations["release/released"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-unpublished": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release or pre-release was unpublished. */ post: operations["release/unpublished"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-anonymous-access-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-anonymous-access-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was archived. */ post: operations["repository/archived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was created. */ post: operations["repository/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. */ post: operations["repository/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-dispatch-sample.collected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.7/rest/repos/repos#create-a-repository-dispatch-event). * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. */ post: operations["repository-dispatch/sample.collected"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The topics, default branch, description, or homepage of a repository was changed. */ post: operations["repository/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-privatized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `private`. */ post: operations["repository/privatized"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-publicized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `public`. */ post: operations["repository/publicized"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The name of a repository was changed. */ post: operations["repository/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. */ post: operations["repository/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-unarchived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A previously archived repository was unarchived. */ post: operations["repository/unarchived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-create": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was created. */ post: operations["repository-vulnerability-alert/create"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-dismiss": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was dismissed. */ post: operations["repository-vulnerability-alert/dismiss"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-reopen": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A previously dismissed or resolved repository vulnerability alert was reopened. */ post: operations["repository-vulnerability-alert/reopen"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-resolve": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was marked as resolved. */ post: operations["repository-vulnerability-alert/resolve"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.7/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.7/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was created. */ post: operations["secret-scanning-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-location-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.7/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.7/rest/secret-scanning)" in the REST API documentation. + * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.7/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.7/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. + * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. */ post: operations["secret-scanning-alert-location/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.7/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.7/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A previously closed secret scanning alert was reopened. */ post: operations["secret-scanning-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.7/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.7/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was closed. */ post: operations["secret-scanning-alert/resolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.7/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.7/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was marked as revoked. */ post: operations["secret-scanning-alert/revoked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.7/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description A security advisory was published to the GitHub community. */ post: operations["security-advisory/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.7/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. */ post: operations["security-advisory/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-withdrawn": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.7/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description A previously published security advisory was withdrawn. */ post: operations["security-advisory/withdrawn"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-and-analysis": { - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.7/code-security/getting-started/github-security-features)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.7/code-security/getting-started/github-security-features)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. */ post: operations["security-and-analysis"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsorship was cancelled and the last billing cycle has ended. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/cancelled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. */ post: operations["sponsorship/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. */ post: operations["sponsorship/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-pending-cancellation": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/pending-cancellation"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-pending-tier-change": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. */ post: operations["sponsorship/pending-tier-change"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-tier-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. */ post: operations["sponsorship/tier-changed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "star-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.7/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.7/rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone starred a repository. */ post: operations["star/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "star-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.7/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.7/rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone unstarred the repository. */ post: operations["star/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; status: { - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.7/rest/commits/statuses)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.7/rest/commits/statuses)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. */ post: operations["status"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-add": { - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.7/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a team is added to a repository. + * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.7/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." * - * For activity relating to teams, see the `teams` event. + * For activity relating to teams, see the `teams` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. */ post: operations["team-add"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-added-to-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was granted access to a repository. */ post: operations["team/added-to-repository"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was created. */ post: operations["team/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was deleted. */ post: operations["team/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name, description, or visibility of a team was changed. */ post: operations["team/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-removed-from-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team's access to a repository was removed. */ post: operations["team/removed-from-repository"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "user-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was added to the enterprise. */ post: operations["user/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "user-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was removed from the enterprise. */ post: operations["user/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "watch-started": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-server@3.7/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-server@3.7/rest/activity/watching)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone started watching the repository. */ post: operations["watch/started"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-dispatch": { - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.7/actions/managing-workflow-runs/manually-running-a-workflow)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.7/actions/managing-workflow-runs/manually-running-a-workflow)." * - * For activity relating to workflow runs, use the `workflow_run` event. + * For activity relating to workflow runs, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["workflow-dispatch"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.7/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. */ post: operations["workflow-job/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.7/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run started processing on a runner. */ post: operations["workflow-job/in-progress"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-queued": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.7/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run was created. */ post: operations["workflow-job/queued"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.7/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. */ post: operations["workflow-run/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.7/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run started processing on a runner. */ post: operations["workflow-run/in-progress"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.7/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run was triggered. */ post: operations["workflow-run/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; } - export interface components { schemas: { /** branch protection rule created event */ @@ -2338,8 +5054,9 @@ export interface components { /** * Enterprise * @description An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured - * on an enterprise account or an organization that's part of an enterprise account. For more information, - * see "[About enterprise accounts](https://docs.github.com/enterprise-server@3.7/admin/overview/about-enterprise-accounts)." + * on an enterprise account or an organization that's part of an enterprise account. For more information, + * see "[About enterprise accounts](https://docs.github.com/enterprise-server@3.7/admin/overview/about-enterprise-accounts)." + * */ "enterprise-webhooks": { /** @description A short description of the enterprise. */ @@ -2368,8 +5085,8 @@ export interface components { /** * Simple Installation * @description The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured - * for and sent to a GitHub App. For more information, - * see "[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-server@3.7/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + * for and sent to a GitHub App. For more information, + * see "[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-server@3.7/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." */ "simple-installation": { /** @description The ID of the installation. */ @@ -2380,7 +5097,7 @@ export interface components { /** * Organization Simple * @description A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an - * organization, or when the event occurs from activity in a repository owned by an organization. + * organization, or when the event occurs from activity in a repository owned by an organization. */ "organization-simple-webhooks": { login: string; @@ -2402,7 +5119,7 @@ export interface components { /** * Repository * @description The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property - * when the event occurs from activity in a repository. + * when the event occurs from activity in a repository. */ "repository-webhooks": { /** @description Unique identifier of the repository */ @@ -2504,7 +5221,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template?: boolean; + is_template: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -2531,7 +5248,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; /** * @description Whether the repository is archived. * @default false @@ -2543,7 +5260,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility?: string; + visibility: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -2554,7 +5271,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; template_repository?: { id?: number; node_id?: string; @@ -2664,34 +5381,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -2704,59 +5421,59 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch?: boolean; + allow_update_branch: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -2764,14 +5481,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required?: boolean; + web_commit_signoff_required: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -3129,9 +5846,9 @@ export interface components { /** * @description The set of permissions for the GitHub app * @example { - * "issues": "read", - * "deployments": "write" - * } + * "issues": "read", + * "deployments": "write" + * } */ permissions: { issues?: string; @@ -3139,7 +5856,7 @@ export interface components { metadata?: string; contents?: string; deployments?: string; - [key: string]: string | undefined; + [key: string]: string; }; /** @description The list of events for the GitHub app */ events: string[]; @@ -5166,10 +7883,10 @@ export interface components { * @description The state of the Dependabot alert. * @enum {string} */ - state: "auto_dismissed" | "dismissed" | "fixed" | "open"; + readonly state: "auto_dismissed" | "dismissed" | "fixed" | "open"; /** @description Details for the vulnerable dependency. */ - dependency: { - readonly package?: components["schemas"]["dependabot-alert-package"]; + readonly dependency: { + package?: components["schemas"]["dependabot-alert-package"]; /** @description The full path to the dependency manifest file, relative to the root of the repository. */ readonly manifest_path?: string; /** @@ -5203,16 +7920,16 @@ export interface components { auto_dismissed_at?: components["schemas"]["alert-auto-dismissed-at"]; }; /** @description The security alert number. */ - readonly "alert-number": number; + "alert-number": number; /** @description Details for the vulnerable package. */ - readonly "dependabot-alert-package": { + "dependabot-alert-package": { /** @description The package's language or package management ecosystem. */ readonly ecosystem: string; /** @description The unique package name within its ecosystem. */ readonly name: string; }; /** @description Details for the GitHub Security Advisory. */ - readonly "dependabot-alert-security-advisory": { + "dependabot-alert-security-advisory": { /** @description The unique GitHub Security Advisory ID assigned to the advisory. */ readonly ghsa_id: string; /** @description The unique CVE ID assigned to the advisory. */ @@ -5222,7 +7939,7 @@ export interface components { /** @description A long-form Markdown-supported description of the advisory. */ readonly description: string; /** @description Vulnerable version range information for the advisory. */ - readonly vulnerabilities: readonly components["schemas"]["dependabot-alert-security-vulnerability"][]; + readonly vulnerabilities: components["schemas"]["dependabot-alert-security-vulnerability"][]; /** * @description The severity of the advisory. * @enum {string} @@ -5236,14 +7953,14 @@ export interface components { readonly vector_string: string | null; }; /** @description Details for the advisory pertaining to Common Weakness Enumeration. */ - readonly cwes: readonly { + readonly cwes: { /** @description The unique CWE ID. */ readonly cwe_id: string; /** @description The short, plain text name of the CWE. */ readonly name: string; }[]; /** @description Values that identify this advisory among security information sources. */ - readonly identifiers: readonly { + readonly identifiers: { /** * @description The type of advisory identifier. * @enum {string} @@ -5253,7 +7970,7 @@ export interface components { readonly value: string; }[]; /** @description Links to additional advisory information. */ - readonly references: readonly { + readonly references: { /** * Format: uri * @description The URL of the reference. @@ -5277,8 +7994,8 @@ export interface components { readonly withdrawn_at: string | null; }; /** @description Details pertaining to one vulnerable version range for the advisory. */ - readonly "dependabot-alert-security-vulnerability": { - readonly package: components["schemas"]["dependabot-alert-package"]; + "dependabot-alert-security-vulnerability": { + package: components["schemas"]["dependabot-alert-package"]; /** * @description The severity of the vulnerability. * @enum {string} @@ -5296,37 +8013,37 @@ export interface components { * Format: uri * @description The REST API URL of the alert resource. */ - readonly "alert-url": string; + "alert-url": string; /** * Format: uri * @description The GitHub URL of the alert resource. */ - readonly "alert-html-url": string; + "alert-html-url": string; /** * Format: date-time * @description The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-created-at": string; + "alert-created-at": string; /** * Format: date-time * @description The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-updated-at": string; + "alert-updated-at": string; /** * Format: date-time * @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-dismissed-at": string | null; + "alert-dismissed-at": string | null; /** * Format: date-time * @description The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-fixed-at": string | null; + "alert-fixed-at": string | null; /** * Format: date-time * @description The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-auto-dismissed-at": string | null; + "alert-auto-dismissed-at": string | null; /** Dependabot alert dismissed event */ "webhook-dependabot-alert-dismissed": { /** @enum {string} */ @@ -7249,7 +9966,8 @@ export interface components { id: number; node_id: string; original_environment: string; - payload: string | Record | null; + payload: (null | Record) & + (string | Record); /** * App * @description GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. @@ -8203,8 +10921,8 @@ export interface components { repository_url: string; /** * @description The current state of the discussion. - * `converting` means that the discussion is being converted from an issue. - * `transferring` means that the discussion is being transferred from another repository. + * `converting` means that the discussion is being converted from an issue. + * `transferring` means that the discussion is being transferred from another repository. * @enum {string} */ state: "open" | "closed" | "locked" | "converting" | "transferring"; @@ -9016,24 +11734,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -9069,7 +11787,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -9208,7 +11926,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -9452,11 +12170,15 @@ export interface components { /** @description The ID of the installation. */ id: number; account: - | null | ( - | components["schemas"]["simple-user"] - | components["schemas"]["enterprise"] - ); + | null + | ( + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"] + ) + ) + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"]; /** * @description Describe whether all repositories have been selected or there's a selection involved * @enum {string} @@ -9519,11 +12241,11 @@ export interface components { * App Permissions * @description The permissions granted to the user access token. * @example { - * "contents": "read", - * "issues": "read", - * "deployments": "write", - * "single_file": "read" - * } + * "contents": "read", + * "issues": "read", + * "deployments": "write", + * "single_file": "read" + * } */ "app-permissions": { /** @@ -16954,24 +19676,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -17007,7 +19729,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -17148,7 +19870,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -19161,24 +21883,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -19214,7 +21936,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -19358,7 +22080,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -23444,19 +26166,16 @@ export interface components { | { id?: number | string; name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -24868,22 +27587,19 @@ export interface components { "webhook-projects-v2-item-edited": { /** @enum {string} */ action: "edited"; - changes?: OneOf< - [ - { + changes?: + | { field_value: { field_node_id?: string; field_type?: string; }; - }, - { + } + | { body: { from?: string | null; to?: string | null; }; - }, - ] - >; + }; installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; @@ -25178,24 +27894,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -25231,7 +27947,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -25315,17 +28031,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -25392,7 +28108,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -25400,9 +28116,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -25412,8 +28128,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -25445,7 +28161,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -25521,24 +28237,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -25574,7 +28290,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -25658,17 +28374,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -25735,7 +28451,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -25743,9 +28459,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -25755,8 +28471,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -25788,7 +28504,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -25978,9 +28694,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -26015,8 +28730,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -26066,9 +28781,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -26390,24 +29104,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -26443,7 +29157,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -26527,17 +29241,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -26604,7 +29318,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -26612,9 +29326,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -26624,8 +29338,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -26657,7 +29371,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -26733,24 +29447,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -26786,7 +29500,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -26870,17 +29584,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -26947,7 +29661,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -26955,9 +29669,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -26967,8 +29681,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -27000,7 +29714,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -27190,9 +29904,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -27227,8 +29940,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -27278,9 +29991,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -27603,24 +30315,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -27656,7 +30368,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -27740,17 +30452,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -27817,7 +30529,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -27825,9 +30537,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -27837,8 +30549,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -27870,7 +30582,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -27946,24 +30658,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -27999,7 +30711,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28083,17 +30795,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -28160,7 +30872,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -28168,9 +30880,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -28180,8 +30892,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28213,7 +30925,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -28403,9 +31115,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -28440,8 +31151,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -28491,9 +31202,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -28619,41 +31329,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28661,7 +31371,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -29231,41 +31941,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29273,7 +31983,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -29490,24 +32200,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29543,7 +32253,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29627,17 +32337,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -29704,7 +32414,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -29712,9 +32422,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -29724,8 +32434,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29757,7 +32467,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -29833,24 +32543,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29886,7 +32596,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29970,17 +32680,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -30047,7 +32757,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -30055,9 +32765,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -30067,8 +32777,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30100,7 +32810,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30290,9 +33000,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -30327,8 +33036,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -30378,9 +33087,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -30524,41 +33232,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30566,7 +33274,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender?: components["schemas"]["simple-user-webhooks"]; @@ -30799,24 +33507,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30852,7 +33560,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30936,17 +33644,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -31013,7 +33721,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -31021,9 +33729,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -31033,8 +33741,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31066,7 +33774,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31142,24 +33850,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31195,7 +33903,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31279,17 +33987,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -31356,7 +34064,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -31364,9 +34072,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -31376,8 +34084,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31409,7 +34117,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31599,9 +34307,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -31636,8 +34343,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -31687,9 +34394,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -32012,24 +34718,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32065,7 +34771,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32149,17 +34855,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32226,7 +34932,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32234,9 +34940,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32246,8 +34952,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -32279,7 +34985,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32355,24 +35061,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32408,7 +35114,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32492,17 +35198,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32569,7 +35275,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32577,9 +35283,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32589,8 +35295,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -32622,7 +35328,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32812,9 +35518,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -32849,8 +35554,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -32900,9 +35605,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -33225,24 +35929,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33278,7 +35982,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33362,17 +36066,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -33439,7 +36143,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -33447,9 +36151,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -33459,8 +36163,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33492,7 +36196,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33568,24 +36272,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33621,7 +36325,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33705,17 +36409,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -33782,7 +36486,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -33790,9 +36494,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -33802,8 +36506,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33835,7 +36539,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -34025,9 +36729,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -34062,8 +36765,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -34113,9 +36816,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -34240,41 +36942,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34282,7 +36984,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -34301,41 +37003,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34343,7 +37045,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -34362,41 +37064,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34404,7 +37106,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -34770,24 +37472,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34823,7 +37525,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34907,17 +37609,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -34984,7 +37686,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -34992,9 +37694,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -35004,8 +37706,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -35037,7 +37739,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35106,24 +37808,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35159,7 +37861,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35208,7 +37910,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; homepage: string | null; /** Format: uri */ hooks_url: string; @@ -35243,17 +37945,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -35320,7 +38022,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -35328,9 +38030,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -35340,8 +38042,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -35373,7 +38075,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35518,9 +38220,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -35555,8 +38256,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -35606,9 +38307,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -36074,24 +38774,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36127,7 +38827,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36211,17 +38911,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -36288,7 +38988,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -36296,9 +38996,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -36308,8 +39008,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -36341,7 +39041,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36410,24 +39110,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36463,7 +39163,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36547,17 +39247,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -36624,7 +39324,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -36632,9 +39332,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -36644,8 +39344,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -36677,7 +39377,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36822,9 +39522,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -36859,8 +39558,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -36910,9 +39609,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -37385,24 +40083,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37438,7 +40136,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37522,17 +40220,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -37599,7 +40297,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -37607,9 +40305,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -37619,8 +40317,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37652,7 +40350,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37721,24 +40419,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37774,7 +40472,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37858,17 +40556,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -37935,7 +40633,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -37943,9 +40641,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -37955,8 +40653,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37988,7 +40686,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38133,9 +40831,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -38170,8 +40867,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -38221,9 +40918,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -38537,24 +41233,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38590,7 +41286,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38674,17 +41370,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -38751,7 +41447,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -38759,9 +41455,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -38771,8 +41467,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -38804,7 +41500,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38873,24 +41569,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38926,7 +41622,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39010,17 +41706,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -39087,7 +41783,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -39095,9 +41791,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -39107,8 +41803,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -39140,7 +41836,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39285,9 +41981,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -39322,8 +42017,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -39373,9 +42068,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -39776,24 +42470,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39829,7 +42523,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39968,7 +42662,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -40063,24 +42757,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40116,7 +42810,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40255,7 +42949,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -40426,9 +43120,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -40463,8 +43156,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -40514,9 +43207,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -40702,9 +43394,8 @@ export interface components { sender: components["schemas"]["simple-user-webhooks"]; }; /** pull_request review_request_removed event */ - "webhook-pull-request-review-request-removed": OneOf< - [ - { + "webhook-pull-request-review-request-removed": + | { /** @enum {string} */ action: "review_request_removed"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -40915,24 +43606,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40968,7 +43659,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41052,17 +43743,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41129,7 +43820,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41175,7 +43866,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41251,24 +43942,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41304,7 +43995,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41388,17 +44079,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41465,7 +44156,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41473,9 +44164,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -41485,8 +44176,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -41518,7 +44209,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41708,9 +44399,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -41745,8 +44435,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -41796,9 +44486,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -41945,8 +44634,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_request_removed"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -42157,24 +44846,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42210,7 +44899,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42294,17 +44983,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -42371,7 +45060,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42379,9 +45068,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -42391,8 +45080,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -42424,7 +45113,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42500,24 +45189,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42553,7 +45242,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42637,17 +45326,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -42714,7 +45403,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42722,9 +45411,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -42734,8 +45423,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -42767,7 +45456,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42957,9 +45646,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -42994,8 +45682,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -43045,9 +45733,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -43212,13 +45899,10 @@ export interface components { url: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request review_requested event */ - "webhook-pull-request-review-requested": OneOf< - [ - { + "webhook-pull-request-review-requested": + | { /** @enum {string} */ action: "review_requested"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -43429,24 +46113,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43482,7 +46166,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43566,17 +46250,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -43643,7 +46327,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -43651,9 +46335,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -43663,8 +46347,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -43696,7 +46380,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -43772,24 +46456,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43825,7 +46509,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43909,17 +46593,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -43986,7 +46670,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -43994,9 +46678,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -44006,8 +46690,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -44039,7 +46723,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44229,9 +46913,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -44266,8 +46949,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -44317,9 +47000,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -44466,8 +47148,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_requested"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -44678,24 +47360,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44731,7 +47413,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44815,17 +47497,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -44892,7 +47574,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -44900,9 +47582,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -44912,8 +47594,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -44945,7 +47627,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45021,24 +47703,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45074,7 +47756,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45158,17 +47840,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -45235,7 +47917,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -45243,9 +47925,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -45255,8 +47937,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -45288,7 +47970,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45478,9 +48160,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -45515,8 +48196,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -45566,9 +48247,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -45733,9 +48413,7 @@ export interface components { url?: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request_review submitted event */ "webhook-pull-request-review-submitted": { /** @enum {string} */ @@ -45945,24 +48623,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45998,7 +48676,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46082,17 +48760,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -46159,7 +48837,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -46167,9 +48845,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -46179,8 +48857,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -46212,7 +48890,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46281,24 +48959,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46334,7 +49012,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46418,17 +49096,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -46495,7 +49173,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -46503,9 +49181,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -46515,8 +49193,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -46548,7 +49226,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46693,9 +49371,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -46730,8 +49407,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -46781,9 +49458,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -47177,24 +49853,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47230,7 +49906,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47374,7 +50050,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -47471,24 +50147,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47524,7 +50200,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47668,7 +50344,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -47841,9 +50517,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -47878,8 +50553,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -47929,9 +50604,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -48397,24 +51071,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48450,7 +51124,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48594,7 +51268,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -48691,24 +51365,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48744,7 +51418,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48888,7 +51562,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -49061,9 +51735,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -49098,8 +51771,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -49149,9 +51822,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -49622,24 +52294,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49675,7 +52347,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49759,17 +52431,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -49836,7 +52508,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -49844,9 +52516,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -49856,8 +52528,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -49889,7 +52561,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -49965,24 +52637,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50018,7 +52690,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50172,7 +52844,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -50180,9 +52852,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -50192,8 +52864,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -50225,7 +52897,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -50415,9 +53087,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -50452,8 +53123,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -50503,9 +53174,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -50865,24 +53535,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50918,7 +53588,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51002,17 +53672,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -51079,7 +53749,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -51087,9 +53757,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -51099,8 +53769,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -51132,7 +53802,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -51208,24 +53878,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51261,7 +53931,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51345,17 +54015,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -51422,7 +54092,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -51430,9 +54100,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -51442,8 +54112,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -51475,7 +54145,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -51665,9 +54335,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -51702,8 +54371,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -51753,9 +54422,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -52094,24 +54762,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52147,7 +54815,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52231,17 +54899,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -52308,7 +54976,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -52316,9 +54984,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -52328,8 +54996,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -52361,7 +55029,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -52437,24 +55105,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52490,7 +55158,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52644,7 +55312,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -52652,9 +55320,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -52664,8 +55332,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -52697,7 +55365,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -52887,9 +55555,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -52924,8 +55591,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -52975,9 +55642,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -53300,24 +55966,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53353,7 +56019,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53437,17 +56103,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -53514,7 +56180,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53522,9 +56188,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -53534,8 +56200,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -53567,7 +56233,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53643,24 +56309,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53696,7 +56362,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53780,17 +56446,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -53857,7 +56523,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53865,9 +56531,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -53877,8 +56543,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -53910,7 +56576,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -54100,9 +56766,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -54137,8 +56802,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -54188,9 +56853,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -54445,24 +57109,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54498,7 +57162,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54642,7 +57306,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -54764,19 +57428,23 @@ export interface components { name?: string; version?: string; npm_user?: string; - author?: string | Record | null; - bugs?: string | Record | null; + author?: (null | Record) & + (string | Record); + bugs?: (null | Record) & + (string | Record); dependencies?: Record; dev_dependencies?: Record; peer_dependencies?: Record; optional_dependencies?: Record; description?: string; - dist?: string | Record | null; + dist?: (null | Record) & + (string | Record); git_head?: string; homepage?: string; license?: string; main?: string; - repository?: string | Record | null; + repository?: (null | Record) & + (string | Record); scripts?: Record; id?: string; node_version?: string; @@ -54789,7 +57457,8 @@ export interface components { files?: string[]; bin?: Record; man?: Record; - directories?: string | Record | null; + directories?: (null | Record) & + (string | Record); os?: string[]; cpu?: string[]; readme?: string; @@ -54801,21 +57470,19 @@ export interface components { } | null; nuget_metadata?: | { - id?: string | Record | number | null; + id?: (null | Record) & + (string | Record | number); name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -57231,34 +59898,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -57278,7 +59945,7 @@ export interface components { * @description Whether anonymous git access is allowed. * @default true */ - anonymous_access_enabled?: boolean; + anonymous_access_enabled: boolean; code_of_conduct?: components["schemas"]["code-of-conduct-simple"]; security_and_analysis?: components["schemas"]["security-and-analysis"]; }; @@ -57386,7 +60053,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template?: boolean; + is_template: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -57414,7 +60081,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; /** * @description Whether the repository is archived. * @default false @@ -57426,7 +60093,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility?: string; + visibility: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -57437,7 +60104,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; template_repository?: { id?: number; node_id?: string; @@ -57547,34 +60214,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -57587,59 +60254,59 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch?: boolean; + allow_update_branch: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -57647,14 +60314,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required?: boolean; + web_commit_signoff_required: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -58758,24 +61425,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -58811,7 +61478,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -58950,7 +61617,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -59057,24 +61724,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59110,7 +61777,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59249,7 +61916,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -59356,24 +62023,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59409,7 +62076,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59548,7 +62215,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -59682,24 +62349,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59735,7 +62402,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59874,7 +62541,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -59981,24 +62648,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -60034,7 +62701,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -60173,7 +62840,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -62552,20 +65219,11 @@ export interface components { headers: never; pathItems: never; } - export type $defs = Record; - -export type external = Record; - export interface operations { - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.7/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.7/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was created. - */ "branch-protection-rule/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62586,6 +65244,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62595,18 +65255,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.7/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.7/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was deleted. - */ "branch-protection-rule/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62627,6 +65285,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62636,18 +65296,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.7/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.7/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was edited. - */ "branch-protection-rule/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62668,6 +65326,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62677,13 +65337,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](https://docs.github.com/enterprise-server@3.7/admin/enterprise-management/caching-repositories/about-repository-caching)." */ "cache-sync": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62704,6 +65367,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62713,24 +65378,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.7/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run was completed, and a conclusion is available. - */ "check-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62751,6 +65408,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62760,24 +65419,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.7/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A new check run was created. - */ "check-run/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62798,6 +65449,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62807,24 +65460,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.7/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.7/developers/apps/guides/creating-ci-tests-with-the-checks-api)." - */ "check-run/requested-action": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62845,6 +65490,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62854,24 +65501,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.7/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. - */ "check-run/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62892,6 +65531,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62901,24 +65542,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.7/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description All check runs in a check suite have completed, and a conclusion is available. - */ "check-suite/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62939,6 +65572,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62948,24 +65583,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.7/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.7/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-server@3.7/rest/checks/runs#create-a-check-run)" in the REST API documentation. - */ "check-suite/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62986,6 +65613,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62995,24 +65624,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.7/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.7/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-server@3.7/rest/checks/suites#create-a-check-suite)" in the REST API documentation. - */ "check-suite/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63033,6 +65654,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63042,18 +65665,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. - */ "code-scanning-alert/appeared-in-branch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63074,6 +65695,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63083,18 +65706,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone closed a code scanning alert. - */ "code-scanning-alert/closed-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63115,6 +65736,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63124,18 +65747,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was created in a repository. - */ "code-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63156,6 +65777,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63165,18 +65788,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was fixed in a branch by a commit. - */ "code-scanning-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63197,6 +65818,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63206,18 +65829,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously fixed code scanning alert reappeared in a branch. - */ "code-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63238,6 +65859,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63247,18 +65870,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone reopened a code scanning alert. - */ "code-scanning-alert/reopened-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63279,6 +65900,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63288,20 +65911,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-server@3.7/rest/commits/comments)" in the REST API documentation. - * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description Someone commented on a commit. - */ "commit-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63322,6 +65941,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63331,21 +65952,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is created. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ create: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63366,6 +65982,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63375,20 +65993,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Note**: This event will not occur when more than three tags are deleted at once. - */ delete: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63409,6 +66023,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63418,22 +66034,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.7/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. - */ "dependabot-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63454,6 +66064,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63463,22 +66075,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.7/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually closed. - */ "dependabot-alert/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63499,6 +66105,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63508,22 +66116,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.7/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change removed a vulnerability. - */ "dependabot-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63544,6 +66146,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63553,22 +66157,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.7/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. - */ "dependabot-alert/reintroduced": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63589,6 +66187,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63598,22 +66198,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.7/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually reopened. - */ "dependabot-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63634,6 +66228,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63643,18 +66239,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.7/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.7/rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was created. - */ "deploy-key/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63675,6 +66269,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63684,18 +66280,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.7/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.7/rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was deleted. - */ "deploy-key/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63716,6 +66310,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63725,20 +66321,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.7/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.7/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment status, use the `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment was created. - */ "deployment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63759,6 +66351,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63768,20 +66362,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.7/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.7/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was approved. - */ "deployment-review/approved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63802,6 +66392,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63811,20 +66403,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.7/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.7/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was rejected. - */ "deployment-review/rejected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63845,6 +66433,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63854,20 +66444,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.7/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.7/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was requested. - */ "deployment-review/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63888,6 +66474,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63897,20 +66485,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.7/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.7/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation, use the `deployment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A new deployment status was created. - */ "deployment-status/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63931,6 +66515,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63940,22 +66526,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was marked as the answer. - */ "discussion/answered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63976,6 +66556,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63985,22 +66567,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The category of a discussion was changed. - */ "discussion/category-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64021,6 +66597,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64030,22 +66608,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was created. - */ "discussion-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64066,6 +66638,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64075,22 +66649,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was deleted. - */ "discussion-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64111,6 +66679,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64120,22 +66690,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was edited. - */ "discussion-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64156,6 +66720,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64165,22 +66731,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was created. - */ "discussion/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64201,6 +66761,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64210,22 +66772,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was deleted. - */ "discussion/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64246,6 +66802,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64255,22 +66813,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The title or body on a discussion was edited, or the category of the discussion was changed. - */ "discussion/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64291,6 +66843,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64300,22 +66854,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was added to a discussion. - */ "discussion/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64336,6 +66884,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64345,22 +66895,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was locked. - */ "discussion/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64381,6 +66925,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64390,22 +66936,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was pinned. - */ "discussion/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64426,6 +66966,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64435,22 +66977,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was transferred to another repository. - */ "discussion/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64471,6 +67007,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64480,22 +67018,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was unmarked as the answer. - */ "discussion/unanswered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64516,6 +67048,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64525,22 +67059,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was removed from a discussion. - */ "discussion/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64561,6 +67089,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64570,22 +67100,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unlocked. - */ "discussion/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64606,6 +67130,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64615,22 +67141,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unpinned. - */ "discussion/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64651,6 +67171,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64660,16 +67182,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.7/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." - * @description Anonymous Git read access was disabled. - */ "enterprise/anonymous-access-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64690,6 +67212,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64699,16 +67223,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.7/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." - * @description Anonymous Git read access was enabled. - */ "enterprise/anonymous-access-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64729,6 +67253,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64738,17 +67264,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.7/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.7/rest/repos/forks)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ fork: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64769,6 +67294,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64778,20 +67305,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. - * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. - * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.7/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." - * @description Someone revoked their authorization of a GitHub App. - */ "github-app-authorization/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64812,6 +67335,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64821,17 +67346,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.7/communities/documenting-your-project-with-wikis/about-wikis)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ gollum: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64852,6 +67376,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64861,18 +67387,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. - * @description Someone installed a GitHub App on a user or organization account. - */ "installation/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64893,6 +67417,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64902,18 +67428,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. - * @description Someone uninstalled a GitHub App from their user or organization account. - */ "installation/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64934,6 +67458,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64943,18 +67469,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. - * @description Someone granted new permissions to a GitHub App. - */ "installation/new-permissions-accepted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64975,6 +67499,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64984,18 +67510,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. - * @description A GitHub App installation was granted access to one or more repositories. - */ "installation-repositories/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65016,6 +67540,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65025,18 +67551,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. - * @description Access to one or more repositories was revoked for a GitHub App installation. - */ "installation-repositories/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65057,6 +67581,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65066,18 +67592,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. - * @description Someone blocked access by a GitHub App to their user or organization account. - */ "installation/suspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65098,6 +67622,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65107,16 +67633,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. - * @description Somebody renamed the user or organization account that a GitHub App is installed on. - */ "installation-target/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65137,6 +67663,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65146,18 +67674,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. - * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. - */ "installation/unsuspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65178,6 +67704,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65187,20 +67715,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.7/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.7/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was created. - */ "issue-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65221,6 +67745,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65230,20 +67756,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.7/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.7/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was deleted. - */ "issue-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65264,6 +67786,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65273,20 +67797,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.7/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.7/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was edited. - */ "issue-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65307,6 +67827,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65316,20 +67838,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was assigned to a user. - */ "issues/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65350,6 +67868,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65359,20 +67879,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was closed. - */ "issues/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65393,6 +67909,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65402,20 +67920,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was deleted. - */ "issues/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65436,6 +67950,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65445,20 +67961,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was removed from a milestone. - */ "issues/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65479,6 +67991,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65488,20 +68002,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description The title or body on an issue was edited. - */ "issues/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65522,6 +68032,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65531,20 +68043,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was added to an issue. - */ "issues/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65565,6 +68073,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65574,20 +68084,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.7/communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65608,6 +68114,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65617,20 +68125,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was added to a milestone. - */ "issues/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65651,6 +68155,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65660,20 +68166,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. - */ "issues/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65694,6 +68196,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65703,20 +68207,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65737,6 +68237,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65746,20 +68248,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A closed issue was reopened. - */ "issues/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65780,6 +68278,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65789,20 +68289,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." - */ "issues/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65823,6 +68319,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65832,20 +68330,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A user was unassigned from an issue. - */ "issues/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65866,6 +68360,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65875,20 +68371,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was removed from an issue. - */ "issues/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65909,6 +68401,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65918,20 +68412,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.7/communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65952,6 +68442,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65961,20 +68453,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65995,6 +68483,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66004,20 +68494,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.7/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was created. - */ "label/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66038,6 +68524,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66047,20 +68535,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.7/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was deleted. - */ "label/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66081,6 +68565,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66090,20 +68576,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.7/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label's name, description, or color was changed. - */ "label/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66124,6 +68606,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66133,18 +68617,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.7/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.7/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A GitHub user accepted an invitation to a repository. - */ "member/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66165,6 +68647,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66174,18 +68658,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.7/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.7/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description Permissions were changed for a collaborator on a repository. - */ "member/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66206,6 +68688,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66215,18 +68699,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.7/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.7/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A collaborator was removed from a repository. - */ "member/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66247,6 +68729,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66256,18 +68740,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.7/rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was added to a team. - */ "membership/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66288,6 +68770,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66297,18 +68781,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.7/rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was removed from a team. - */ "membership/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66329,6 +68811,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66338,18 +68822,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a webhook itself. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. - * @description The webhook was deleted. - */ "meta/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66370,6 +68852,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66379,20 +68863,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.7/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was closed. - */ "milestone/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66413,6 +68893,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66422,20 +68904,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.7/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was created. - */ "milestone/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66456,6 +68934,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66465,20 +68945,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.7/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was deleted. - */ "milestone/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66499,6 +68975,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66508,20 +68986,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.7/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was edited. - */ "milestone/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66542,6 +69016,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66551,20 +69027,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.7/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was opened. - */ "milestone/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66585,6 +69057,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66594,20 +69068,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.7/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.7/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization was deleted. - */ "organization/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66628,6 +69098,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66637,20 +69109,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.7/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.7/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member accepted an invitation to join an organization. - */ "organization/member-added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66671,6 +69139,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66680,20 +69150,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.7/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.7/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was invited to join the organization. - */ "organization/member-invited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66714,6 +69180,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66723,20 +69191,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.7/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.7/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was removed from the organization. - */ "organization/member-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66757,6 +69221,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66766,20 +69232,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.7/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.7/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name of an organization was changed. - */ "organization/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66800,6 +69262,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66809,18 +69273,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.7/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.7/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A package was published to a registry. - */ "package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66841,6 +69303,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66850,18 +69314,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.7/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.7/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A previously published package was updated. - */ "package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66882,6 +69344,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66891,17 +69355,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.7/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.7/rest/pages)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ "page-build": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66922,6 +69385,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66931,13 +69396,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ ping: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66958,6 +69426,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66967,20 +69437,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note in a classic project was converted to an issue. - */ "project-card/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67001,6 +69467,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67010,20 +69478,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card was added to a classic project. - */ "project-card/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67044,6 +69508,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67053,20 +69519,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a classic project was deleted. - */ "project-card/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67087,6 +69549,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67096,20 +69560,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note on a classic project was edited. - */ "project-card/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67130,6 +69590,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67139,20 +69601,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a classic project was moved to another column or to another position in its column. - */ "project-card/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67173,6 +69631,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67182,20 +69642,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was closed. - */ "project/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67216,6 +69672,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67225,20 +69683,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was added to a classic project. - */ "project-column/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67259,6 +69713,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67268,20 +69724,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was deleted from a classic project. - */ "project-column/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67302,6 +69754,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67311,20 +69765,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name of a column on a classic project was changed. - */ "project-column/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67345,6 +69795,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67354,20 +69806,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was moved to a new position on a classic project. - */ "project-column/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67388,6 +69836,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67397,20 +69847,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was created. - */ "project/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67431,6 +69877,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67440,20 +69888,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was deleted. - */ "project/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67474,6 +69918,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67483,20 +69929,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name or description of a classic project was changed. - */ "project/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67517,6 +69959,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67526,20 +69970,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was closed. - */ "project/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67560,6 +70000,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67569,22 +70011,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - */ "projects-v2-item/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67605,6 +70041,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67614,22 +70052,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A draft issue in an organization project was converted to an issue. - */ "projects-v2-item/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67650,6 +70082,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67659,22 +70093,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item was added to a project in the organization. - */ "projects-v2-item/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67695,6 +70123,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67704,22 +70134,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item was deleted from a project in the organization. - */ "projects-v2-item/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67740,6 +70164,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67749,22 +70175,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. - */ "projects-v2-item/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67785,6 +70205,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67794,22 +70216,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. - */ "projects-v2-item/reordered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67830,6 +70246,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67839,22 +70257,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - */ "projects-v2-item/restored": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67875,6 +70287,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67884,17 +70298,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.7/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ public: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67915,6 +70328,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67924,20 +70339,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was assigned to a user. - */ "pull-request/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67958,6 +70369,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67967,20 +70380,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68001,6 +70410,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68010,20 +70421,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68044,6 +70451,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68053,20 +70462,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. - */ "pull-request/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68087,6 +70492,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68096,20 +70503,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/converted-to-draft": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68130,6 +70533,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68139,20 +70544,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was removed from a milestone. - */ "pull-request/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68173,6 +70574,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68182,20 +70585,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The title or body of a pull request was edited. - */ "pull-request/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68216,6 +70615,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68225,20 +70626,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was added to a pull request. - */ "pull-request/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68259,6 +70656,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68268,20 +70667,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.7/communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68302,6 +70697,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68311,20 +70708,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was added to a milestone. - */ "pull-request/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68345,6 +70738,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68354,20 +70749,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was created - */ "pull-request/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68388,6 +70779,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68397,20 +70790,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/ready-for-review": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68431,6 +70820,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68440,20 +70831,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously closed pull request was reopened. - */ "pull-request/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68474,6 +70861,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68483,20 +70872,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.7/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was created. - */ "pull-request-review-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68517,6 +70902,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68526,20 +70913,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.7/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was deleted. - */ "pull-request-review-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68560,6 +70943,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68569,20 +70954,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.7/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The content of a comment on a pull request diff was changed. - */ "pull-request-review-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68603,6 +70984,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68612,20 +70995,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.7/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was dismissed. - */ "pull-request-review/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68646,6 +71025,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68655,20 +71036,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.7/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The body comment on a pull request review was edited. - */ "pull-request-review/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68689,6 +71066,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68698,20 +71077,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A request for review by a person or team was removed from a pull request. - */ "pull-request/review-request-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68732,6 +71107,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68741,20 +71118,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." - */ "pull-request/review-requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68775,6 +71148,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68784,20 +71159,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.7/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was submitted. - */ "pull-request-review/submitted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68818,6 +71189,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68827,20 +71200,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.7/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment thread on a pull request was marked as resolved. - */ "pull-request-review-thread/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68861,6 +71230,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68870,20 +71241,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.7/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously resolved comment thread on a pull request was marked as unresolved. - */ "pull-request-review-thread/unresolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68904,6 +71271,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68913,20 +71282,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. - */ "pull-request/synchronize": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68947,6 +71312,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68956,20 +71323,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A user was unassigned from a pull request. - */ "pull-request/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68990,6 +71353,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68999,20 +71364,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was removed from a pull request. - */ "pull-request/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69033,6 +71394,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69042,20 +71405,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.7/communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69076,6 +71435,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69085,21 +71446,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Note**: An event will not be created when more than three tags are pushed at once. - */ push: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69120,6 +71476,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69129,20 +71487,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.7/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.7/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * **Note**: GitHub recommends that you use the newer `package` event instead. - * @description A package was published to a registry. - */ "registry-package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69163,6 +71517,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69172,20 +71528,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.7/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.7/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * **Note**: GitHub recommends that you use the newer `package` event instead. - * @description A package that was previously published to a registry was updated. - */ "registry-package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69206,6 +71558,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69215,18 +71569,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. - */ "release/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69247,6 +71599,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69256,18 +71610,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft release was deleted. - */ "release/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69288,6 +71640,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69297,18 +71651,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." - */ "release/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69329,6 +71681,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69338,18 +71692,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. - */ "release/prereleased": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69370,6 +71722,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69379,18 +71733,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft of a release was published. - */ "release/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69411,6 +71763,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69420,18 +71774,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was published, or a pre-release was changed to a release. - */ "release/released": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69452,6 +71804,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69461,18 +71815,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release or pre-release was unpublished. - */ "release/unpublished": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69493,6 +71845,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69502,18 +71856,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." - */ "repository/anonymous-access-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69534,6 +71886,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69543,18 +71897,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." - */ "repository/anonymous-access-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69575,6 +71927,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69584,18 +71938,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was archived. - */ "repository/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69616,6 +71968,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69625,18 +71979,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was created. - */ "repository/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69657,6 +72009,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69666,18 +72020,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. - */ "repository/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69698,6 +72050,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69707,18 +72061,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.7/rest/repos/repos#create-a-repository-dispatch-event). - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - */ "repository-dispatch/sample.collected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69739,6 +72091,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69748,18 +72102,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The topics, default branch, description, or homepage of a repository was changed. - */ "repository/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69780,6 +72132,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69789,18 +72143,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `private`. - */ "repository/privatized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69821,6 +72173,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69830,18 +72184,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `public`. - */ "repository/publicized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69862,6 +72214,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69871,18 +72225,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The name of a repository was changed. - */ "repository/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69903,6 +72255,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69912,18 +72266,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. - */ "repository/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69944,6 +72296,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69953,18 +72307,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A previously archived repository was unarchived. - */ "repository/unarchived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69985,6 +72337,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69994,18 +72348,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was created. - */ "repository-vulnerability-alert/create": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70026,6 +72378,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70035,18 +72389,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was dismissed. - */ "repository-vulnerability-alert/dismiss": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70067,6 +72419,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70076,18 +72430,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A previously dismissed or resolved repository vulnerability alert was reopened. - */ "repository-vulnerability-alert/reopen": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70108,6 +72460,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70117,18 +72471,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was marked as resolved. - */ "repository-vulnerability-alert/resolve": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70149,6 +72501,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70158,20 +72512,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.7/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.7/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was created. - */ "secret-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70192,6 +72542,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70201,22 +72553,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. - * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.7/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.7/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. - */ "secret-scanning-alert-location/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70237,6 +72583,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70246,20 +72594,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.7/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.7/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A previously closed secret scanning alert was reopened. - */ "secret-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70280,6 +72624,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70289,20 +72635,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.7/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.7/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was closed. - */ "secret-scanning-alert/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70323,6 +72665,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70332,20 +72676,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.7/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.7/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was marked as revoked. - */ "secret-scanning-alert/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70366,6 +72706,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70375,18 +72717,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.7/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description A security advisory was published to the GitHub community. - */ "security-advisory/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70407,6 +72747,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70416,18 +72758,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.7/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. - */ "security-advisory/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70448,6 +72788,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70457,18 +72799,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.7/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.7/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description A previously published security advisory was withdrawn. - */ "security-advisory/withdrawn": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70489,6 +72829,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70498,17 +72840,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.7/code-security/getting-started/github-security-features)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ "security-and-analysis": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70529,6 +72870,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70538,20 +72881,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsorship was cancelled and the last billing cycle has ended. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70572,6 +72911,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70581,18 +72922,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. - */ "sponsorship/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70613,6 +72952,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70622,18 +72963,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. - */ "sponsorship/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70654,6 +72993,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70663,20 +73004,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/pending-cancellation": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70697,6 +73034,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70706,18 +73045,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. - */ "sponsorship/pending-tier-change": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70738,6 +73075,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70747,18 +73086,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.7/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. - */ "sponsorship/tier-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70779,6 +73116,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70788,18 +73127,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.7/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.7/rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone starred a repository. - */ "star/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70820,6 +73157,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70829,18 +73168,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.7/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.7/rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone unstarred the repository. - */ "star/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70861,6 +73198,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70870,17 +73209,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.7/rest/commits/statuses)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ status: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70901,6 +73239,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70910,20 +73250,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.7/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." - * - * For activity relating to teams, see the `teams` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ "team-add": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70944,6 +73280,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70953,19 +73291,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was granted access to a repository. - */ "team/added-to-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70986,6 +73321,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70995,19 +73332,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was created. - */ "team/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71028,6 +73362,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71037,19 +73373,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was deleted. - */ "team/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71070,6 +73403,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71079,19 +73414,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name, description, or visibility of a team was changed. - */ "team/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71112,6 +73444,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71121,19 +73455,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team's access to a repository was removed. - */ "team/removed-from-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71154,6 +73485,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71163,16 +73496,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to user accounts in an enterprise. - * @description A user account was added to the enterprise. - */ "user/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71193,6 +73526,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71202,16 +73537,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to user accounts in an enterprise. - * @description A user account was removed from the enterprise. - */ "user/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71232,6 +73567,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71241,18 +73578,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-server@3.7/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-server@3.7/rest/activity/watching)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone started watching the repository. - */ "watch/started": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71273,6 +73608,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71282,19 +73619,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.7/actions/managing-workflow-runs/manually-running-a-workflow)." - * - * For activity relating to workflow runs, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ "workflow-dispatch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71315,6 +73649,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71324,20 +73660,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.7/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. - */ "workflow-job/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71358,6 +73690,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71367,20 +73701,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.7/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run started processing on a runner. - */ "workflow-job/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71401,6 +73731,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71410,20 +73742,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.7/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run was created. - */ "workflow-job/queued": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71444,6 +73772,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71453,20 +73783,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.7/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. - */ "workflow-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71487,6 +73813,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71496,20 +73824,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.7/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run started processing on a runner. - */ "workflow-run/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71530,6 +73854,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71539,20 +73865,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.7/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run was triggered. - */ "workflow-run/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71573,6 +73895,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71582,7 +73906,10 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; diff --git a/packages/openapi-webhooks-types-ghes-3.8/types.d.ts b/packages/openapi-webhooks-types-ghes-3.8/types.d.ts index 7c48728..84c6492 100644 --- a/packages/openapi-webhooks-types-ghes-3.8/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.8/types.d.ts @@ -1,2279 +1,5008 @@ -/** - * This file was auto-generated by openapi-typescript. - * Do not make direct changes to the file. - */ - -/** OneOf type helpers */ -type Without = { [P in Exclude]?: never }; -type XOR = T | U extends object - ? (Without & U) | (Without & T) - : T | U; -type OneOf = T extends [infer Only] - ? Only - : T extends [infer A, infer B, ...infer Rest] - ? OneOf<[XOR, ...Rest]> - : never; - export type paths = Record; - export interface webhooks { "branch-protection-rule-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.8/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.8/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was created. */ post: operations["branch-protection-rule/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-rule-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.8/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.8/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was deleted. */ post: operations["branch-protection-rule/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-rule-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.8/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.8/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was edited. */ post: operations["branch-protection-rule/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "cache-sync": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](https://docs.github.com/enterprise-server@3.8/admin/enterprise-management/caching-repositories/about-repository-caching)." */ post: operations["cache-sync"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.8/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run was completed, and a conclusion is available. */ post: operations["check-run/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.8/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A new check run was created. */ post: operations["check-run/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-requested-action": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.8/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.8/developers/apps/guides/creating-ci-tests-with-the-checks-api)." */ post: operations["check-run/requested-action"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.8/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. */ post: operations["check-run/rerequested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.8/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description All check runs in a check suite have completed, and a conclusion is available. */ post: operations["check-suite/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.8/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.8/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-server@3.8/rest/checks/runs#create-a-check-run)" in the REST API documentation. */ post: operations["check-suite/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.8/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.8/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-server@3.8/rest/checks/suites#create-a-check-suite)" in the REST API documentation. */ post: operations["check-suite/rerequested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-appeared-in-branch": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. */ post: operations["code-scanning-alert/appeared-in-branch"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-closed-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone closed a code scanning alert. */ post: operations["code-scanning-alert/closed-by-user"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was created in a repository. */ post: operations["code-scanning-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was fixed in a branch by a commit. */ post: operations["code-scanning-alert/fixed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously fixed code scanning alert reappeared in a branch. */ post: operations["code-scanning-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-reopened-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone reopened a code scanning alert. */ post: operations["code-scanning-alert/reopened-by-user"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "commit-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-server@3.8/rest/commits/comments)" in the REST API documentation. * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. + * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description Someone commented on a commit. */ post: operations["commit-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; create: { - /** - * This event occurs when a Git branch or tag is created. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a Git branch or tag is created. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ + * **Notes**: + * - This event will not occur when more than three tags are created at once. + * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. */ post: operations["create"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; delete: { - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including + * branch and tag deletions, use the [`push`](#push) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Note**: This event will not occur when more than three tags are deleted at once. - */ + * **Note**: This event will not occur when more than three tags are deleted at once. */ post: operations["delete"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.8/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.8/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.8/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.8/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.8/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.8/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-reintroduced": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.8/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.8/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.8/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.8/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deploy-key-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.8/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.8/rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was created. */ post: operations["deploy-key/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deploy-key-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.8/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.8/rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was deleted. */ post: operations["deploy-key/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.8/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.8/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment status, use the `deployment_status` event. + * For activity relating to deployment status, use the `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment was created. */ post: operations["deployment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-approved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.8/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.8/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was approved. */ post: operations["deployment-review/approved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-rejected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.8/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.8/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was rejected. */ post: operations["deployment-review/rejected"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.8/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.8/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was requested. */ post: operations["deployment-review/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-status-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.8/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.8/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation, use the `deployment` event. + * For activity relating to deployment creation, use the `deployment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A new deployment status was created. */ post: operations["deployment-status/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-answered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-category-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was created. */ post: operations["discussion/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was deleted. */ post: operations["discussion/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was locked. */ post: operations["discussion/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was pinned. */ post: operations["discussion/pinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unanswered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "enterprise-anonymous-access-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.8/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was disabled. */ post: operations["enterprise/anonymous-access-disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "enterprise-anonymous-access-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.8/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was enabled. */ post: operations["enterprise/anonymous-access-enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; fork: { - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.8/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.8/rest/repos/forks)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.8/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.8/rest/repos/forks)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["fork"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "github-app-authorization-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. + * A GitHub App receives this webhook by default and cannot unsubscribe from this event. * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.8/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." + * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.8/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." * @description Someone revoked their authorization of a GitHub App. */ post: operations["github-app-authorization/revoked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; gollum: { - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.8/communities/documenting-your-project-with-wikis/about-wikis)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.8/communities/documenting-your-project-with-wikis/about-wikis)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["gollum"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. * @description Someone installed a GitHub App on a user or organization account. */ post: operations["installation/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. * @description Someone uninstalled a GitHub App from their user or organization account. */ post: operations["installation/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-new-permissions-accepted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. * @description Someone granted new permissions to a GitHub App. */ post: operations["installation/new-permissions-accepted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-repositories-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. * @description A GitHub App installation was granted access to one or more repositories. */ post: operations["installation-repositories/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-repositories-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. * @description Access to one or more repositories was revoked for a GitHub App installation. */ post: operations["installation-repositories/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-suspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. * @description Someone blocked access by a GitHub App to their user or organization account. */ post: operations["installation/suspend"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-target-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. * @description Somebody renamed the user or organization account that a GitHub App is installed on. */ post: operations["installation-target/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-unsuspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. */ post: operations["installation/unsuspend"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.8/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.8/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.8/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was created. */ post: operations["issue-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.8/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.8/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.8/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was deleted. */ post: operations["issue-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.8/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.8/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.8/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was edited. */ post: operations["issue-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was assigned to a user. */ post: operations["issues/assigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was closed. */ post: operations["issues/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was deleted. */ post: operations["issues/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was removed from a milestone. */ post: operations["issues/demilestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description The title or body on an issue was edited. */ post: operations["issues/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was added to an issue. */ post: operations["issues/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.8/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was added to a milestone. */ post: operations["issues/milestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. */ post: operations["issues/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/pinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A closed issue was reopened. */ post: operations["issues/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." */ post: operations["issues/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A user was unassigned from an issue. */ post: operations["issues/unassigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was removed from an issue. */ post: operations["issues/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.8/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/unpinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.8/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was created. */ post: operations["label/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.8/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was deleted. */ post: operations["label/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.8/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label's name, description, or color was changed. */ post: operations["label/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.8/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.8/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A GitHub user accepted an invitation to a repository. */ post: operations["member/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.8/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.8/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description Permissions were changed for a collaborator on a repository. */ post: operations["member/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.8/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.8/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A collaborator was removed from a repository. */ post: operations["member/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "membership-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.8/rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was added to a team. */ post: operations["membership/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "membership-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.8/rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was removed from a team. */ post: operations["membership/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "meta-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a webhook itself. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. * @description The webhook was deleted. */ post: operations["meta/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.8/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was closed. */ post: operations["milestone/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.8/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was created. */ post: operations["milestone/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.8/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was deleted. */ post: operations["milestone/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.8/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was edited. */ post: operations["milestone/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.8/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was opened. */ post: operations["milestone/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.8/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.8/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization was deleted. */ post: operations["organization/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.8/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.8/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member accepted an invitation to join an organization. */ post: operations["organization/member-added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-invited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.8/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.8/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was invited to join the organization. */ post: operations["organization/member-invited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.8/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.8/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was removed from the organization. */ post: operations["organization/member-removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.8/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.8/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name of an organization was changed. */ post: operations["organization/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.8/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.8/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A package was published to a registry. */ post: operations["package/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.8/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.8/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A previously published package was updated. */ post: operations["package/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "page-build": { - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.8/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.8/rest/pages)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.8/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.8/rest/pages)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. */ post: operations["page-build"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; ping: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ post: operations["ping"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note in a classic project was converted to an issue. */ post: operations["project-card/converted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card was added to a classic project. */ post: operations["project-card/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a classic project was deleted. */ post: operations["project-card/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note on a classic project was edited. */ post: operations["project-card/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a classic project was moved to another column or to another position in its column. */ post: operations["project-card/moved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was closed. */ post: operations["project/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was added to a classic project. */ post: operations["project-column/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was deleted from a classic project. */ post: operations["project-column/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name of a column on a classic project was changed. */ post: operations["project-column/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was moved to a new position on a classic project. */ post: operations["project-column/moved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was created. */ post: operations["project/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was deleted. */ post: operations["project/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name or description of a classic project was changed. */ post: operations["project/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was closed. */ post: operations["project/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/archived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A draft issue in an organization project was converted to an issue. */ post: operations["projects-v2-item/converted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was added to a project in the organization. */ post: operations["projects-v2-item/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was deleted from a project in the organization. */ post: operations["projects-v2-item/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. */ post: operations["projects-v2-item/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-reordered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. */ post: operations["projects-v2-item/reordered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-restored": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/restored"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; public: { - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.8/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.8/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. */ post: operations["public"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was assigned to a user. */ post: operations["pull-request/assigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-auto-merge-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-auto-merge-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. */ post: operations["pull-request/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-converted-to-draft": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/converted-to-draft"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was removed from a milestone. */ post: operations["pull-request/demilestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The title or body of a pull request was edited. */ post: operations["pull-request/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was added to a pull request. */ post: operations["pull-request/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.8/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was added to a milestone. */ post: operations["pull-request/milestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was created */ post: operations["pull-request/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-ready-for-review": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/ready-for-review"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously closed pull request was reopened. */ post: operations["pull-request/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.8/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was created. */ post: operations["pull-request-review-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.8/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was deleted. */ post: operations["pull-request-review-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.8/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The content of a comment on a pull request diff was changed. */ post: operations["pull-request-review-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.8/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was dismissed. */ post: operations["pull-request-review/dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.8/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The body comment on a pull request review was edited. */ post: operations["pull-request-review/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-request-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A request for review by a person or team was removed from a pull request. */ post: operations["pull-request/review-request-removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." */ post: operations["pull-request/review-requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-submitted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.8/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was submitted. */ post: operations["pull-request-review/submitted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-thread-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.8/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment thread on a pull request was marked as resolved. */ post: operations["pull-request-review-thread/resolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-thread-unresolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.8/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously resolved comment thread on a pull request was marked as unresolved. */ post: operations["pull-request-review-thread/unresolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-synchronize": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. */ post: operations["pull-request/synchronize"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A user was unassigned from a pull request. */ post: operations["pull-request/unassigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was removed from a pull request. */ post: operations["pull-request/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.8/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; push: { - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, + * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch + * and tag deletions, use the [`delete`](#delete) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Note**: An event will not be created when more than three tags are pushed at once. - */ + * **Note**: An event will not be created when more than three tags are pushed at once. */ post: operations["push"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "registry-package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.8/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.8/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * **Note**: GitHub recommends that you use the newer `package` event instead. + * **Note**: GitHub recommends that you use the newer `package` event instead. * @description A package was published to a registry. */ post: operations["registry-package/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "registry-package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.8/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.8/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * **Note**: GitHub recommends that you use the newer `package` event instead. + * **Note**: GitHub recommends that you use the newer `package` event instead. * @description A package that was previously published to a registry was updated. */ post: operations["registry-package/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. */ post: operations["release/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft release was deleted. */ post: operations["release/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." */ post: operations["release/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-prereleased": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. */ post: operations["release/prereleased"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft of a release was published. */ post: operations["release/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-released": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was published, or a pre-release was changed to a release. */ post: operations["release/released"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-unpublished": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release or pre-release was unpublished. */ post: operations["release/unpublished"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-anonymous-access-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-anonymous-access-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was archived. */ post: operations["repository/archived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was created. */ post: operations["repository/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. */ post: operations["repository/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-dispatch-sample.collected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.8/rest/repos/repos#create-a-repository-dispatch-event). * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. */ post: operations["repository-dispatch/sample.collected"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The topics, default branch, description, or homepage of a repository was changed. */ post: operations["repository/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-privatized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `private`. */ post: operations["repository/privatized"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-publicized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `public`. */ post: operations["repository/publicized"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The name of a repository was changed. */ post: operations["repository/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. */ post: operations["repository/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-unarchived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A previously archived repository was unarchived. */ post: operations["repository/unarchived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-create": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was created. */ post: operations["repository-vulnerability-alert/create"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-dismiss": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was dismissed. */ post: operations["repository-vulnerability-alert/dismiss"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-reopen": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A previously dismissed or resolved repository vulnerability alert was reopened. */ post: operations["repository-vulnerability-alert/reopen"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-resolve": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was marked as resolved. */ post: operations["repository-vulnerability-alert/resolve"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.8/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.8/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was created. */ post: operations["secret-scanning-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-location-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.8/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.8/rest/secret-scanning)" in the REST API documentation. + * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.8/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.8/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. + * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. */ post: operations["secret-scanning-alert-location/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.8/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.8/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A previously closed secret scanning alert was reopened. */ post: operations["secret-scanning-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.8/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.8/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was closed. */ post: operations["secret-scanning-alert/resolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.8/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.8/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was marked as revoked. */ post: operations["secret-scanning-alert/revoked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.8/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description A security advisory was published to the GitHub community. */ post: operations["security-advisory/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.8/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. */ post: operations["security-advisory/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-withdrawn": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.8/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description A previously published security advisory was withdrawn. */ post: operations["security-advisory/withdrawn"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-and-analysis": { - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.8/code-security/getting-started/github-security-features)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.8/code-security/getting-started/github-security-features)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. */ post: operations["security-and-analysis"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsorship was cancelled and the last billing cycle has ended. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/cancelled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. */ post: operations["sponsorship/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. */ post: operations["sponsorship/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-pending-cancellation": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/pending-cancellation"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-pending-tier-change": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. */ post: operations["sponsorship/pending-tier-change"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-tier-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. */ post: operations["sponsorship/tier-changed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "star-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.8/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.8/rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone starred a repository. */ post: operations["star/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "star-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.8/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.8/rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone unstarred the repository. */ post: operations["star/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; status: { - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.8/rest/commits/statuses)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.8/rest/commits/statuses)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. */ post: operations["status"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-add": { - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.8/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a team is added to a repository. + * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.8/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." * - * For activity relating to teams, see the `teams` event. + * For activity relating to teams, see the `teams` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. */ post: operations["team-add"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-added-to-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was granted access to a repository. */ post: operations["team/added-to-repository"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was created. */ post: operations["team/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was deleted. */ post: operations["team/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name, description, or visibility of a team was changed. */ post: operations["team/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-removed-from-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team's access to a repository was removed. */ post: operations["team/removed-from-repository"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "user-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was added to the enterprise. */ post: operations["user/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "user-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was removed from the enterprise. */ post: operations["user/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "watch-started": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-server@3.8/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-server@3.8/rest/activity/watching)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone started watching the repository. */ post: operations["watch/started"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-dispatch": { - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.8/actions/managing-workflow-runs/manually-running-a-workflow)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.8/actions/managing-workflow-runs/manually-running-a-workflow)." * - * For activity relating to workflow runs, use the `workflow_run` event. + * For activity relating to workflow runs, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["workflow-dispatch"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.8/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. */ post: operations["workflow-job/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.8/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run started processing on a runner. */ post: operations["workflow-job/in-progress"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-queued": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.8/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run was created. */ post: operations["workflow-job/queued"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-waiting": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.8/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run was created and is waiting for approvals. */ post: operations["workflow-job/waiting"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.8/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. */ post: operations["workflow-run/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.8/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run started processing on a runner. */ post: operations["workflow-run/in-progress"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.8/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run was triggered. */ post: operations["workflow-run/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; } - export interface components { schemas: { /** branch protection rule created event */ @@ -2349,8 +5078,9 @@ export interface components { /** * Enterprise * @description An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured - * on an enterprise account or an organization that's part of an enterprise account. For more information, - * see "[About enterprise accounts](https://docs.github.com/enterprise-server@3.8/admin/overview/about-enterprise-accounts)." + * on an enterprise account or an organization that's part of an enterprise account. For more information, + * see "[About enterprise accounts](https://docs.github.com/enterprise-server@3.8/admin/overview/about-enterprise-accounts)." + * */ "enterprise-webhooks": { /** @description A short description of the enterprise. */ @@ -2379,8 +5109,8 @@ export interface components { /** * Simple Installation * @description The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured - * for and sent to a GitHub App. For more information, - * see "[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-server@3.8/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + * for and sent to a GitHub App. For more information, + * see "[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-server@3.8/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." */ "simple-installation": { /** @description The ID of the installation. */ @@ -2391,7 +5121,7 @@ export interface components { /** * Organization Simple * @description A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an - * organization, or when the event occurs from activity in a repository owned by an organization. + * organization, or when the event occurs from activity in a repository owned by an organization. */ "organization-simple-webhooks": { login: string; @@ -2413,7 +5143,7 @@ export interface components { /** * Repository * @description The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property - * when the event occurs from activity in a repository. + * when the event occurs from activity in a repository. */ "repository-webhooks": { /** @description Unique identifier of the repository */ @@ -2515,7 +5245,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template?: boolean; + is_template: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -2542,7 +5272,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; /** * @description Whether the repository is archived. * @default false @@ -2554,7 +5284,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility?: string; + visibility: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -2565,7 +5295,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; template_repository?: { id?: number; node_id?: string; @@ -2675,34 +5405,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -2715,59 +5445,59 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch?: boolean; + allow_update_branch: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -2775,14 +5505,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required?: boolean; + web_commit_signoff_required: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -3140,9 +5870,9 @@ export interface components { /** * @description The set of permissions for the GitHub app * @example { - * "issues": "read", - * "deployments": "write" - * } + * "issues": "read", + * "deployments": "write" + * } */ permissions: { issues?: string; @@ -3150,7 +5880,7 @@ export interface components { metadata?: string; contents?: string; deployments?: string; - [key: string]: string | undefined; + [key: string]: string; }; /** @description The list of events for the GitHub app */ events: string[]; @@ -5177,10 +7907,10 @@ export interface components { * @description The state of the Dependabot alert. * @enum {string} */ - state: "auto_dismissed" | "dismissed" | "fixed" | "open"; + readonly state: "auto_dismissed" | "dismissed" | "fixed" | "open"; /** @description Details for the vulnerable dependency. */ - dependency: { - readonly package?: components["schemas"]["dependabot-alert-package"]; + readonly dependency: { + package?: components["schemas"]["dependabot-alert-package"]; /** @description The full path to the dependency manifest file, relative to the root of the repository. */ readonly manifest_path?: string; /** @@ -5214,16 +7944,16 @@ export interface components { auto_dismissed_at?: components["schemas"]["alert-auto-dismissed-at"]; }; /** @description The security alert number. */ - readonly "alert-number": number; + "alert-number": number; /** @description Details for the vulnerable package. */ - readonly "dependabot-alert-package": { + "dependabot-alert-package": { /** @description The package's language or package management ecosystem. */ readonly ecosystem: string; /** @description The unique package name within its ecosystem. */ readonly name: string; }; /** @description Details for the GitHub Security Advisory. */ - readonly "dependabot-alert-security-advisory": { + "dependabot-alert-security-advisory": { /** @description The unique GitHub Security Advisory ID assigned to the advisory. */ readonly ghsa_id: string; /** @description The unique CVE ID assigned to the advisory. */ @@ -5233,7 +7963,7 @@ export interface components { /** @description A long-form Markdown-supported description of the advisory. */ readonly description: string; /** @description Vulnerable version range information for the advisory. */ - readonly vulnerabilities: readonly components["schemas"]["dependabot-alert-security-vulnerability"][]; + readonly vulnerabilities: components["schemas"]["dependabot-alert-security-vulnerability"][]; /** * @description The severity of the advisory. * @enum {string} @@ -5247,14 +7977,14 @@ export interface components { readonly vector_string: string | null; }; /** @description Details for the advisory pertaining to Common Weakness Enumeration. */ - readonly cwes: readonly { + readonly cwes: { /** @description The unique CWE ID. */ readonly cwe_id: string; /** @description The short, plain text name of the CWE. */ readonly name: string; }[]; /** @description Values that identify this advisory among security information sources. */ - readonly identifiers: readonly { + readonly identifiers: { /** * @description The type of advisory identifier. * @enum {string} @@ -5264,7 +7994,7 @@ export interface components { readonly value: string; }[]; /** @description Links to additional advisory information. */ - readonly references: readonly { + readonly references: { /** * Format: uri * @description The URL of the reference. @@ -5288,8 +8018,8 @@ export interface components { readonly withdrawn_at: string | null; }; /** @description Details pertaining to one vulnerable version range for the advisory. */ - readonly "dependabot-alert-security-vulnerability": { - readonly package: components["schemas"]["dependabot-alert-package"]; + "dependabot-alert-security-vulnerability": { + package: components["schemas"]["dependabot-alert-package"]; /** * @description The severity of the vulnerability. * @enum {string} @@ -5307,37 +8037,37 @@ export interface components { * Format: uri * @description The REST API URL of the alert resource. */ - readonly "alert-url": string; + "alert-url": string; /** * Format: uri * @description The GitHub URL of the alert resource. */ - readonly "alert-html-url": string; + "alert-html-url": string; /** * Format: date-time * @description The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-created-at": string; + "alert-created-at": string; /** * Format: date-time * @description The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-updated-at": string; + "alert-updated-at": string; /** * Format: date-time * @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-dismissed-at": string | null; + "alert-dismissed-at": string | null; /** * Format: date-time * @description The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-fixed-at": string | null; + "alert-fixed-at": string | null; /** * Format: date-time * @description The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-auto-dismissed-at": string | null; + "alert-auto-dismissed-at": string | null; /** Dependabot alert dismissed event */ "webhook-dependabot-alert-dismissed": { /** @enum {string} */ @@ -7260,7 +9990,8 @@ export interface components { id: number; node_id: string; original_environment: string; - payload: string | Record | null; + payload: (null | Record) & + (string | Record); /** * App * @description GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. @@ -8214,8 +10945,8 @@ export interface components { repository_url: string; /** * @description The current state of the discussion. - * `converting` means that the discussion is being converted from an issue. - * `transferring` means that the discussion is being transferred from another repository. + * `converting` means that the discussion is being converted from an issue. + * `transferring` means that the discussion is being transferred from another repository. * @enum {string} */ state: "open" | "closed" | "locked" | "converting" | "transferring"; @@ -9027,24 +11758,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -9080,7 +11811,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -9219,7 +11950,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -9463,11 +12194,15 @@ export interface components { /** @description The ID of the installation. */ id: number; account: - | null | ( - | components["schemas"]["simple-user"] - | components["schemas"]["enterprise"] - ); + | null + | ( + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"] + ) + ) + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"]; /** * @description Describe whether all repositories have been selected or there's a selection involved * @enum {string} @@ -9530,11 +12265,11 @@ export interface components { * App Permissions * @description The permissions granted to the user access token. * @example { - * "contents": "read", - * "issues": "read", - * "deployments": "write", - * "single_file": "read" - * } + * "contents": "read", + * "issues": "read", + * "deployments": "write", + * "single_file": "read" + * } */ "app-permissions": { /** @@ -16970,24 +19705,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -17023,7 +19758,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -17164,7 +19899,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -19177,24 +21912,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -19230,7 +21965,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -19374,7 +22109,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -23460,19 +26195,16 @@ export interface components { | { id?: number | string; name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -24884,22 +27616,19 @@ export interface components { "webhook-projects-v2-item-edited": { /** @enum {string} */ action: "edited"; - changes?: OneOf< - [ - { + changes?: + | { field_value: { field_node_id?: string; field_type?: string; }; - }, - { + } + | { body: { from?: string | null; to?: string | null; }; - }, - ] - >; + }; installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; @@ -25194,24 +27923,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -25247,7 +27976,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -25331,17 +28060,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -25408,7 +28137,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -25416,9 +28145,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -25428,8 +28157,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -25461,7 +28190,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -25537,24 +28266,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -25590,7 +28319,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -25674,17 +28403,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -25751,7 +28480,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -25759,9 +28488,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -25771,8 +28500,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -25804,7 +28533,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -25994,9 +28723,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -26031,8 +28759,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -26082,9 +28810,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -26406,24 +29133,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -26459,7 +29186,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -26543,17 +29270,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -26620,7 +29347,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -26628,9 +29355,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -26640,8 +29367,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -26673,7 +29400,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -26749,24 +29476,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -26802,7 +29529,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -26886,17 +29613,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -26963,7 +29690,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -26971,9 +29698,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -26983,8 +29710,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -27016,7 +29743,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -27206,9 +29933,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -27243,8 +29969,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -27294,9 +30020,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -27619,24 +30344,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -27672,7 +30397,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -27756,17 +30481,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -27833,7 +30558,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -27841,9 +30566,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -27853,8 +30578,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -27886,7 +30611,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -27962,24 +30687,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -28015,7 +30740,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28099,17 +30824,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -28176,7 +30901,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -28184,9 +30909,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -28196,8 +30921,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28229,7 +30954,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -28419,9 +31144,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -28456,8 +31180,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -28507,9 +31231,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -28635,41 +31358,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28677,7 +31400,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -29247,41 +31970,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29289,7 +32012,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -29506,24 +32229,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29559,7 +32282,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29643,17 +32366,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -29720,7 +32443,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -29728,9 +32451,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -29740,8 +32463,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29773,7 +32496,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -29849,24 +32572,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29902,7 +32625,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29986,17 +32709,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -30063,7 +32786,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -30071,9 +32794,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -30083,8 +32806,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30116,7 +32839,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30306,9 +33029,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -30343,8 +33065,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -30394,9 +33116,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -30540,41 +33261,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30582,7 +33303,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender?: components["schemas"]["simple-user-webhooks"]; @@ -30815,24 +33536,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30868,7 +33589,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30952,17 +33673,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -31029,7 +33750,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -31037,9 +33758,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -31049,8 +33770,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31082,7 +33803,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31158,24 +33879,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31211,7 +33932,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31295,17 +34016,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -31372,7 +34093,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -31380,9 +34101,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -31392,8 +34113,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31425,7 +34146,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31615,9 +34336,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -31652,8 +34372,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -31703,9 +34423,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -32028,24 +34747,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32081,7 +34800,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32165,17 +34884,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32242,7 +34961,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32250,9 +34969,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32262,8 +34981,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -32295,7 +35014,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32371,24 +35090,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32424,7 +35143,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32508,17 +35227,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32585,7 +35304,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32593,9 +35312,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32605,8 +35324,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -32638,7 +35357,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32828,9 +35547,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -32865,8 +35583,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -32916,9 +35634,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -33241,24 +35958,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33294,7 +36011,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33378,17 +36095,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -33455,7 +36172,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -33463,9 +36180,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -33475,8 +36192,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33508,7 +36225,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33584,24 +36301,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33637,7 +36354,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33721,17 +36438,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -33798,7 +36515,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -33806,9 +36523,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -33818,8 +36535,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33851,7 +36568,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -34041,9 +36758,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -34078,8 +36794,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -34129,9 +36845,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -34256,41 +36971,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34298,7 +37013,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -34317,41 +37032,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34359,7 +37074,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -34378,41 +37093,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34420,7 +37135,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -34786,24 +37501,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34839,7 +37554,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34923,17 +37638,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -35000,7 +37715,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -35008,9 +37723,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -35020,8 +37735,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -35053,7 +37768,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35122,24 +37837,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35175,7 +37890,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35224,7 +37939,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; homepage: string | null; /** Format: uri */ hooks_url: string; @@ -35259,17 +37974,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -35336,7 +38051,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -35344,9 +38059,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -35356,8 +38071,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -35389,7 +38104,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35534,9 +38249,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -35571,8 +38285,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -35622,9 +38336,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -36090,24 +38803,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36143,7 +38856,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36227,17 +38940,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -36304,7 +39017,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -36312,9 +39025,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -36324,8 +39037,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -36357,7 +39070,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36426,24 +39139,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36479,7 +39192,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36563,17 +39276,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -36640,7 +39353,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -36648,9 +39361,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -36660,8 +39373,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -36693,7 +39406,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36838,9 +39551,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -36875,8 +39587,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -36926,9 +39638,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -37401,24 +40112,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37454,7 +40165,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37538,17 +40249,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -37615,7 +40326,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -37623,9 +40334,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -37635,8 +40346,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37668,7 +40379,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37737,24 +40448,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37790,7 +40501,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37874,17 +40585,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -37951,7 +40662,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -37959,9 +40670,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -37971,8 +40682,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -38004,7 +40715,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38149,9 +40860,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -38186,8 +40896,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -38237,9 +40947,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -38553,24 +41262,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38606,7 +41315,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38690,17 +41399,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -38767,7 +41476,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -38775,9 +41484,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -38787,8 +41496,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -38820,7 +41529,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38889,24 +41598,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38942,7 +41651,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39026,17 +41735,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -39103,7 +41812,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -39111,9 +41820,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -39123,8 +41832,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -39156,7 +41865,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39301,9 +42010,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -39338,8 +42046,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -39389,9 +42097,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -39792,24 +42499,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39845,7 +42552,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39984,7 +42691,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -40079,24 +42786,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40132,7 +42839,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40271,7 +42978,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -40442,9 +43149,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -40479,8 +43185,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -40530,9 +43236,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -40718,9 +43423,8 @@ export interface components { sender: components["schemas"]["simple-user-webhooks"]; }; /** pull_request review_request_removed event */ - "webhook-pull-request-review-request-removed": OneOf< - [ - { + "webhook-pull-request-review-request-removed": + | { /** @enum {string} */ action: "review_request_removed"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -40931,24 +43635,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40984,7 +43688,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41068,17 +43772,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41145,7 +43849,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41191,7 +43895,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41267,24 +43971,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41320,7 +44024,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41404,17 +44108,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41481,7 +44185,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41489,9 +44193,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -41501,8 +44205,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -41534,7 +44238,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41724,9 +44428,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -41761,8 +44464,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -41812,9 +44515,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -41961,8 +44663,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_request_removed"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -42173,24 +44875,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42226,7 +44928,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42310,17 +45012,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -42387,7 +45089,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42395,9 +45097,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -42407,8 +45109,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -42440,7 +45142,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42516,24 +45218,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42569,7 +45271,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42653,17 +45355,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -42730,7 +45432,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42738,9 +45440,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -42750,8 +45452,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -42783,7 +45485,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42973,9 +45675,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -43010,8 +45711,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -43061,9 +45762,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -43228,13 +45928,10 @@ export interface components { url: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request review_requested event */ - "webhook-pull-request-review-requested": OneOf< - [ - { + "webhook-pull-request-review-requested": + | { /** @enum {string} */ action: "review_requested"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -43445,24 +46142,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43498,7 +46195,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43582,17 +46279,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -43659,7 +46356,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -43667,9 +46364,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -43679,8 +46376,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -43712,7 +46409,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -43788,24 +46485,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43841,7 +46538,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43925,17 +46622,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -44002,7 +46699,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -44010,9 +46707,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -44022,8 +46719,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -44055,7 +46752,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44245,9 +46942,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -44282,8 +46978,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -44333,9 +47029,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -44482,8 +47177,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_requested"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -44694,24 +47389,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44747,7 +47442,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44831,17 +47526,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -44908,7 +47603,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -44916,9 +47611,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -44928,8 +47623,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -44961,7 +47656,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45037,24 +47732,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45090,7 +47785,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45174,17 +47869,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -45251,7 +47946,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -45259,9 +47954,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -45271,8 +47966,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -45304,7 +47999,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45494,9 +48189,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -45531,8 +48225,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -45582,9 +48276,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -45749,9 +48442,7 @@ export interface components { url?: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request_review submitted event */ "webhook-pull-request-review-submitted": { /** @enum {string} */ @@ -45961,24 +48652,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46014,7 +48705,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46098,17 +48789,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -46175,7 +48866,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -46183,9 +48874,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -46195,8 +48886,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -46228,7 +48919,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46297,24 +48988,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46350,7 +49041,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46434,17 +49125,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -46511,7 +49202,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -46519,9 +49210,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -46531,8 +49222,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -46564,7 +49255,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46709,9 +49400,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -46746,8 +49436,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -46797,9 +49487,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -47193,24 +49882,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47246,7 +49935,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47390,7 +50079,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -47487,24 +50176,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47540,7 +50229,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47684,7 +50373,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -47857,9 +50546,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -47894,8 +50582,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -47945,9 +50633,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -48413,24 +51100,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48466,7 +51153,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48610,7 +51297,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -48707,24 +51394,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48760,7 +51447,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48904,7 +51591,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -49077,9 +51764,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -49114,8 +51800,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -49165,9 +51851,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -49638,24 +52323,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49691,7 +52376,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49775,17 +52460,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -49852,7 +52537,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -49860,9 +52545,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -49872,8 +52557,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -49905,7 +52590,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -49981,24 +52666,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50034,7 +52719,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50188,7 +52873,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -50196,9 +52881,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -50208,8 +52893,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -50241,7 +52926,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -50431,9 +53116,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -50468,8 +53152,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -50519,9 +53203,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -50881,24 +53564,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50934,7 +53617,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51018,17 +53701,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -51095,7 +53778,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -51103,9 +53786,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -51115,8 +53798,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -51148,7 +53831,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -51224,24 +53907,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51277,7 +53960,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51361,17 +54044,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -51438,7 +54121,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -51446,9 +54129,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -51458,8 +54141,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -51491,7 +54174,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -51681,9 +54364,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -51718,8 +54400,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -51769,9 +54451,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -52110,24 +54791,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52163,7 +54844,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52247,17 +54928,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -52324,7 +55005,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -52332,9 +55013,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -52344,8 +55025,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -52377,7 +55058,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -52453,24 +55134,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52506,7 +55187,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52660,7 +55341,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -52668,9 +55349,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -52680,8 +55361,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -52713,7 +55394,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -52903,9 +55584,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -52940,8 +55620,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -52991,9 +55671,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -53316,24 +55995,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53369,7 +56048,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53453,17 +56132,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -53530,7 +56209,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53538,9 +56217,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -53550,8 +56229,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -53583,7 +56262,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53659,24 +56338,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53712,7 +56391,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53796,17 +56475,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -53873,7 +56552,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53881,9 +56560,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -53893,8 +56572,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -53926,7 +56605,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -54116,9 +56795,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -54153,8 +56831,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -54204,9 +56882,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -54461,24 +57138,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54514,7 +57191,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54658,7 +57335,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -54780,19 +57457,23 @@ export interface components { name?: string; version?: string; npm_user?: string; - author?: string | Record | null; - bugs?: string | Record | null; + author?: (null | Record) & + (string | Record); + bugs?: (null | Record) & + (string | Record); dependencies?: Record; dev_dependencies?: Record; peer_dependencies?: Record; optional_dependencies?: Record; description?: string; - dist?: string | Record | null; + dist?: (null | Record) & + (string | Record); git_head?: string; homepage?: string; license?: string; main?: string; - repository?: string | Record | null; + repository?: (null | Record) & + (string | Record); scripts?: Record; id?: string; node_version?: string; @@ -54805,7 +57486,8 @@ export interface components { files?: string[]; bin?: Record; man?: Record; - directories?: string | Record | null; + directories?: (null | Record) & + (string | Record); os?: string[]; cpu?: string[]; readme?: string; @@ -54817,21 +57499,19 @@ export interface components { } | null; nuget_metadata?: | { - id?: string | Record | number | null; + id?: (null | Record) & + (string | Record | number); name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -57277,34 +59957,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -57324,7 +60004,7 @@ export interface components { * @description Whether anonymous git access is allowed. * @default true */ - anonymous_access_enabled?: boolean; + anonymous_access_enabled: boolean; code_of_conduct?: components["schemas"]["code-of-conduct-simple"]; security_and_analysis?: components["schemas"]["security-and-analysis"]; }; @@ -57432,7 +60112,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template?: boolean; + is_template: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -57460,7 +60140,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; /** * @description Whether the repository is archived. * @default false @@ -57472,7 +60152,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility?: string; + visibility: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -57483,7 +60163,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; template_repository?: { id?: number; node_id?: string; @@ -57593,34 +60273,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -57633,59 +60313,59 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch?: boolean; + allow_update_branch: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -57693,14 +60373,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required?: boolean; + web_commit_signoff_required: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -58804,24 +61484,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -58857,7 +61537,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -58996,7 +61676,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -59103,24 +61783,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59156,7 +61836,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59295,7 +61975,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -59402,24 +62082,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59455,7 +62135,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59594,7 +62274,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -59728,24 +62408,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59781,7 +62461,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59920,7 +62600,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -60027,24 +62707,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -60080,7 +62760,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -60219,7 +62899,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -60545,14 +63225,11 @@ export interface components { ref: string; /** @description Parameter to specify a task to execute */ task: string; - payload: OneOf< - [ - { + payload: + | { [key: string]: unknown; - }, - string, - ] - >; + } + | string; original_environment?: string; /** @description Name for the target deployment environment. */ environment: string; @@ -62702,20 +65379,11 @@ export interface components { headers: never; pathItems: never; } - export type $defs = Record; - -export type external = Record; - export interface operations { - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.8/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.8/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was created. - */ "branch-protection-rule/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62736,6 +65404,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62745,18 +65415,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.8/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.8/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was deleted. - */ "branch-protection-rule/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62777,6 +65445,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62786,18 +65456,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.8/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.8/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was edited. - */ "branch-protection-rule/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62818,6 +65486,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62827,13 +65497,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](https://docs.github.com/enterprise-server@3.8/admin/enterprise-management/caching-repositories/about-repository-caching)." */ "cache-sync": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62854,6 +65527,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62863,24 +65538,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.8/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run was completed, and a conclusion is available. - */ "check-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62901,6 +65568,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62910,24 +65579,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.8/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A new check run was created. - */ "check-run/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62948,6 +65609,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62957,24 +65620,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.8/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.8/developers/apps/guides/creating-ci-tests-with-the-checks-api)." - */ "check-run/requested-action": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62995,6 +65650,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63004,24 +65661,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.8/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. - */ "check-run/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63042,6 +65691,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63051,24 +65702,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.8/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description All check runs in a check suite have completed, and a conclusion is available. - */ "check-suite/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63089,6 +65732,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63098,24 +65743,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.8/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.8/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-server@3.8/rest/checks/runs#create-a-check-run)" in the REST API documentation. - */ "check-suite/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63136,6 +65773,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63145,24 +65784,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.8/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.8/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-server@3.8/rest/checks/suites#create-a-check-suite)" in the REST API documentation. - */ "check-suite/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63183,6 +65814,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63192,18 +65825,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. - */ "code-scanning-alert/appeared-in-branch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63224,6 +65855,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63233,18 +65866,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone closed a code scanning alert. - */ "code-scanning-alert/closed-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63265,6 +65896,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63274,18 +65907,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was created in a repository. - */ "code-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63306,6 +65937,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63315,18 +65948,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was fixed in a branch by a commit. - */ "code-scanning-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63347,6 +65978,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63356,18 +65989,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously fixed code scanning alert reappeared in a branch. - */ "code-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63388,6 +66019,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63397,18 +66030,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone reopened a code scanning alert. - */ "code-scanning-alert/reopened-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63429,6 +66060,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63438,20 +66071,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-server@3.8/rest/commits/comments)" in the REST API documentation. - * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description Someone commented on a commit. - */ "commit-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63472,6 +66101,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63481,21 +66112,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is created. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ create: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63516,6 +66142,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63525,20 +66153,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Note**: This event will not occur when more than three tags are deleted at once. - */ delete: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63559,6 +66183,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63568,22 +66194,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.8/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. - */ "dependabot-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63604,6 +66224,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63613,22 +66235,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.8/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually closed. - */ "dependabot-alert/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63649,6 +66265,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63658,22 +66276,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.8/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change removed a vulnerability. - */ "dependabot-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63694,6 +66306,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63703,22 +66317,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.8/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. - */ "dependabot-alert/reintroduced": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63739,6 +66347,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63748,22 +66358,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.8/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually reopened. - */ "dependabot-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63784,6 +66388,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63793,18 +66399,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.8/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.8/rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was created. - */ "deploy-key/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63825,6 +66429,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63834,18 +66440,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.8/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.8/rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was deleted. - */ "deploy-key/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63866,6 +66470,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63875,20 +66481,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.8/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.8/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment status, use the `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment was created. - */ "deployment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63909,6 +66511,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63918,20 +66522,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.8/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.8/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was approved. - */ "deployment-review/approved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63952,6 +66552,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63961,20 +66563,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.8/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.8/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was rejected. - */ "deployment-review/rejected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63995,6 +66593,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64004,20 +66604,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.8/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.8/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was requested. - */ "deployment-review/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64038,6 +66634,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64047,20 +66645,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.8/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.8/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation, use the `deployment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A new deployment status was created. - */ "deployment-status/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64081,6 +66675,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64090,22 +66686,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was marked as the answer. - */ "discussion/answered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64126,6 +66716,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64135,22 +66727,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The category of a discussion was changed. - */ "discussion/category-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64171,6 +66757,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64180,22 +66768,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was created. - */ "discussion-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64216,6 +66798,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64225,22 +66809,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was deleted. - */ "discussion-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64261,6 +66839,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64270,22 +66850,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was edited. - */ "discussion-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64306,6 +66880,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64315,22 +66891,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was created. - */ "discussion/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64351,6 +66921,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64360,22 +66932,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was deleted. - */ "discussion/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64396,6 +66962,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64405,22 +66973,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The title or body on a discussion was edited, or the category of the discussion was changed. - */ "discussion/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64441,6 +67003,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64450,22 +67014,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was added to a discussion. - */ "discussion/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64486,6 +67044,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64495,22 +67055,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was locked. - */ "discussion/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64531,6 +67085,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64540,22 +67096,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was pinned. - */ "discussion/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64576,6 +67126,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64585,22 +67137,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was transferred to another repository. - */ "discussion/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64621,6 +67167,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64630,22 +67178,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was unmarked as the answer. - */ "discussion/unanswered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64666,6 +67208,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64675,22 +67219,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was removed from a discussion. - */ "discussion/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64711,6 +67249,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64720,22 +67260,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unlocked. - */ "discussion/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64756,6 +67290,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64765,22 +67301,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unpinned. - */ "discussion/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64801,6 +67331,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64810,16 +67342,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.8/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." - * @description Anonymous Git read access was disabled. - */ "enterprise/anonymous-access-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64840,6 +67372,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64849,16 +67383,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.8/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." - * @description Anonymous Git read access was enabled. - */ "enterprise/anonymous-access-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64879,6 +67413,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64888,17 +67424,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.8/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.8/rest/repos/forks)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ fork: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64919,6 +67454,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64928,20 +67465,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. - * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. - * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.8/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." - * @description Someone revoked their authorization of a GitHub App. - */ "github-app-authorization/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64962,6 +67495,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64971,17 +67506,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.8/communities/documenting-your-project-with-wikis/about-wikis)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ gollum: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65002,6 +67536,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65011,18 +67547,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. - * @description Someone installed a GitHub App on a user or organization account. - */ "installation/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65043,6 +67577,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65052,18 +67588,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. - * @description Someone uninstalled a GitHub App from their user or organization account. - */ "installation/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65084,6 +67618,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65093,18 +67629,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. - * @description Someone granted new permissions to a GitHub App. - */ "installation/new-permissions-accepted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65125,6 +67659,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65134,18 +67670,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. - * @description A GitHub App installation was granted access to one or more repositories. - */ "installation-repositories/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65166,6 +67700,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65175,18 +67711,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. - * @description Access to one or more repositories was revoked for a GitHub App installation. - */ "installation-repositories/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65207,6 +67741,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65216,18 +67752,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. - * @description Someone blocked access by a GitHub App to their user or organization account. - */ "installation/suspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65248,6 +67782,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65257,16 +67793,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. - * @description Somebody renamed the user or organization account that a GitHub App is installed on. - */ "installation-target/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65287,6 +67823,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65296,18 +67834,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. - * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. - */ "installation/unsuspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65328,6 +67864,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65337,20 +67875,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.8/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.8/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was created. - */ "issue-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65371,6 +67905,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65380,20 +67916,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.8/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.8/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was deleted. - */ "issue-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65414,6 +67946,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65423,20 +67957,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.8/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.8/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was edited. - */ "issue-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65457,6 +67987,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65466,20 +67998,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was assigned to a user. - */ "issues/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65500,6 +68028,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65509,20 +68039,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was closed. - */ "issues/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65543,6 +68069,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65552,20 +68080,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was deleted. - */ "issues/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65586,6 +68110,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65595,20 +68121,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was removed from a milestone. - */ "issues/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65629,6 +68151,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65638,20 +68162,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description The title or body on an issue was edited. - */ "issues/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65672,6 +68192,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65681,20 +68203,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was added to an issue. - */ "issues/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65715,6 +68233,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65724,20 +68244,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.8/communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65758,6 +68274,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65767,20 +68285,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was added to a milestone. - */ "issues/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65801,6 +68315,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65810,20 +68326,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. - */ "issues/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65844,6 +68356,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65853,20 +68367,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65887,6 +68397,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65896,20 +68408,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A closed issue was reopened. - */ "issues/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65930,6 +68438,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65939,20 +68449,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." - */ "issues/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65973,6 +68479,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65982,20 +68490,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A user was unassigned from an issue. - */ "issues/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66016,6 +68520,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66025,20 +68531,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was removed from an issue. - */ "issues/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66059,6 +68561,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66068,20 +68572,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.8/communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66102,6 +68602,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66111,20 +68613,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66145,6 +68643,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66154,20 +68654,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.8/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was created. - */ "label/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66188,6 +68684,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66197,20 +68695,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.8/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was deleted. - */ "label/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66231,6 +68725,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66240,20 +68736,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.8/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label's name, description, or color was changed. - */ "label/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66274,6 +68766,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66283,18 +68777,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.8/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.8/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A GitHub user accepted an invitation to a repository. - */ "member/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66315,6 +68807,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66324,18 +68818,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.8/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.8/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description Permissions were changed for a collaborator on a repository. - */ "member/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66356,6 +68848,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66365,18 +68859,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.8/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.8/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A collaborator was removed from a repository. - */ "member/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66397,6 +68889,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66406,18 +68900,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.8/rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was added to a team. - */ "membership/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66438,6 +68930,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66447,18 +68941,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.8/rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was removed from a team. - */ "membership/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66479,6 +68971,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66488,18 +68982,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a webhook itself. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. - * @description The webhook was deleted. - */ "meta/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66520,6 +69012,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66529,20 +69023,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.8/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was closed. - */ "milestone/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66563,6 +69053,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66572,20 +69064,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.8/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was created. - */ "milestone/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66606,6 +69094,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66615,20 +69105,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.8/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was deleted. - */ "milestone/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66649,6 +69135,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66658,20 +69146,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.8/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was edited. - */ "milestone/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66692,6 +69176,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66701,20 +69187,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.8/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was opened. - */ "milestone/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66735,6 +69217,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66744,20 +69228,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.8/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.8/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization was deleted. - */ "organization/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66778,6 +69258,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66787,20 +69269,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.8/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.8/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member accepted an invitation to join an organization. - */ "organization/member-added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66821,6 +69299,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66830,20 +69310,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.8/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.8/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was invited to join the organization. - */ "organization/member-invited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66864,6 +69340,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66873,20 +69351,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.8/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.8/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was removed from the organization. - */ "organization/member-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66907,6 +69381,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66916,20 +69392,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.8/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.8/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name of an organization was changed. - */ "organization/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66950,6 +69422,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66959,18 +69433,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.8/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.8/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A package was published to a registry. - */ "package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66991,6 +69463,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67000,18 +69474,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.8/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.8/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A previously published package was updated. - */ "package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67032,6 +69504,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67041,17 +69515,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.8/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.8/rest/pages)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ "page-build": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67072,6 +69545,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67081,13 +69556,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ ping: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67108,6 +69586,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67117,20 +69597,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note in a classic project was converted to an issue. - */ "project-card/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67151,6 +69627,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67160,20 +69638,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card was added to a classic project. - */ "project-card/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67194,6 +69668,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67203,20 +69679,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a classic project was deleted. - */ "project-card/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67237,6 +69709,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67246,20 +69720,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note on a classic project was edited. - */ "project-card/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67280,6 +69750,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67289,20 +69761,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a classic project was moved to another column or to another position in its column. - */ "project-card/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67323,6 +69791,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67332,20 +69802,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was closed. - */ "project/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67366,6 +69832,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67375,20 +69843,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was added to a classic project. - */ "project-column/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67409,6 +69873,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67418,20 +69884,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was deleted from a classic project. - */ "project-column/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67452,6 +69914,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67461,20 +69925,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name of a column on a classic project was changed. - */ "project-column/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67495,6 +69955,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67504,20 +69966,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was moved to a new position on a classic project. - */ "project-column/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67538,6 +69996,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67547,20 +70007,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was created. - */ "project/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67581,6 +70037,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67590,20 +70048,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was deleted. - */ "project/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67624,6 +70078,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67633,20 +70089,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name or description of a classic project was changed. - */ "project/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67667,6 +70119,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67676,20 +70130,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was closed. - */ "project/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67710,6 +70160,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67719,22 +70171,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - */ "projects-v2-item/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67755,6 +70201,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67764,22 +70212,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A draft issue in an organization project was converted to an issue. - */ "projects-v2-item/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67800,6 +70242,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67809,22 +70253,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item was added to a project in the organization. - */ "projects-v2-item/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67845,6 +70283,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67854,22 +70294,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item was deleted from a project in the organization. - */ "projects-v2-item/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67890,6 +70324,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67899,22 +70335,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. - */ "projects-v2-item/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67935,6 +70365,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67944,22 +70376,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. - */ "projects-v2-item/reordered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67980,6 +70406,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67989,22 +70417,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - */ "projects-v2-item/restored": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68025,6 +70447,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68034,17 +70458,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.8/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ public: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68065,6 +70488,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68074,20 +70499,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was assigned to a user. - */ "pull-request/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68108,6 +70529,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68117,20 +70540,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68151,6 +70570,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68160,20 +70581,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68194,6 +70611,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68203,20 +70622,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. - */ "pull-request/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68237,6 +70652,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68246,20 +70663,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/converted-to-draft": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68280,6 +70693,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68289,20 +70704,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was removed from a milestone. - */ "pull-request/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68323,6 +70734,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68332,20 +70745,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The title or body of a pull request was edited. - */ "pull-request/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68366,6 +70775,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68375,20 +70786,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was added to a pull request. - */ "pull-request/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68409,6 +70816,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68418,20 +70827,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.8/communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68452,6 +70857,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68461,20 +70868,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was added to a milestone. - */ "pull-request/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68495,6 +70898,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68504,20 +70909,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was created - */ "pull-request/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68538,6 +70939,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68547,20 +70950,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/ready-for-review": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68581,6 +70980,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68590,20 +70991,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously closed pull request was reopened. - */ "pull-request/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68624,6 +71021,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68633,20 +71032,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.8/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was created. - */ "pull-request-review-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68667,6 +71062,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68676,20 +71073,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.8/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was deleted. - */ "pull-request-review-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68710,6 +71103,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68719,20 +71114,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.8/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The content of a comment on a pull request diff was changed. - */ "pull-request-review-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68753,6 +71144,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68762,20 +71155,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.8/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was dismissed. - */ "pull-request-review/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68796,6 +71185,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68805,20 +71196,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.8/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The body comment on a pull request review was edited. - */ "pull-request-review/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68839,6 +71226,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68848,20 +71237,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A request for review by a person or team was removed from a pull request. - */ "pull-request/review-request-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68882,6 +71267,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68891,20 +71278,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." - */ "pull-request/review-requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68925,6 +71308,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68934,20 +71319,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.8/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was submitted. - */ "pull-request-review/submitted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68968,6 +71349,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68977,20 +71360,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.8/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment thread on a pull request was marked as resolved. - */ "pull-request-review-thread/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69011,6 +71390,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69020,20 +71401,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.8/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously resolved comment thread on a pull request was marked as unresolved. - */ "pull-request-review-thread/unresolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69054,6 +71431,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69063,20 +71442,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. - */ "pull-request/synchronize": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69097,6 +71472,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69106,20 +71483,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A user was unassigned from a pull request. - */ "pull-request/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69140,6 +71513,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69149,20 +71524,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was removed from a pull request. - */ "pull-request/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69183,6 +71554,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69192,20 +71565,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.8/communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69226,6 +71595,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69235,21 +71606,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Note**: An event will not be created when more than three tags are pushed at once. - */ push: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69270,6 +71636,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69279,20 +71647,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.8/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.8/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * **Note**: GitHub recommends that you use the newer `package` event instead. - * @description A package was published to a registry. - */ "registry-package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69313,6 +71677,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69322,20 +71688,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.8/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.8/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * **Note**: GitHub recommends that you use the newer `package` event instead. - * @description A package that was previously published to a registry was updated. - */ "registry-package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69356,6 +71718,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69365,18 +71729,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. - */ "release/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69397,6 +71759,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69406,18 +71770,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft release was deleted. - */ "release/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69438,6 +71800,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69447,18 +71811,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." - */ "release/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69479,6 +71841,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69488,18 +71852,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. - */ "release/prereleased": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69520,6 +71882,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69529,18 +71893,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft of a release was published. - */ "release/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69561,6 +71923,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69570,18 +71934,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was published, or a pre-release was changed to a release. - */ "release/released": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69602,6 +71964,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69611,18 +71975,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release or pre-release was unpublished. - */ "release/unpublished": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69643,6 +72005,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69652,18 +72016,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." - */ "repository/anonymous-access-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69684,6 +72046,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69693,18 +72057,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." - */ "repository/anonymous-access-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69725,6 +72087,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69734,18 +72098,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was archived. - */ "repository/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69766,6 +72128,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69775,18 +72139,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was created. - */ "repository/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69807,6 +72169,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69816,18 +72180,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. - */ "repository/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69848,6 +72210,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69857,18 +72221,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.8/rest/repos/repos#create-a-repository-dispatch-event). - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - */ "repository-dispatch/sample.collected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69889,6 +72251,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69898,18 +72262,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The topics, default branch, description, or homepage of a repository was changed. - */ "repository/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69930,6 +72292,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69939,18 +72303,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `private`. - */ "repository/privatized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69971,6 +72333,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69980,18 +72344,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `public`. - */ "repository/publicized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70012,6 +72374,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70021,18 +72385,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The name of a repository was changed. - */ "repository/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70053,6 +72415,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70062,18 +72426,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. - */ "repository/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70094,6 +72456,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70103,18 +72467,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A previously archived repository was unarchived. - */ "repository/unarchived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70135,6 +72497,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70144,18 +72508,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was created. - */ "repository-vulnerability-alert/create": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70176,6 +72538,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70185,18 +72549,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was dismissed. - */ "repository-vulnerability-alert/dismiss": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70217,6 +72579,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70226,18 +72590,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A previously dismissed or resolved repository vulnerability alert was reopened. - */ "repository-vulnerability-alert/reopen": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70258,6 +72620,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70267,18 +72631,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was marked as resolved. - */ "repository-vulnerability-alert/resolve": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70299,6 +72661,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70308,20 +72672,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.8/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.8/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was created. - */ "secret-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70342,6 +72702,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70351,22 +72713,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. - * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.8/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.8/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. - */ "secret-scanning-alert-location/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70387,6 +72743,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70396,20 +72754,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.8/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.8/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A previously closed secret scanning alert was reopened. - */ "secret-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70430,6 +72784,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70439,20 +72795,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.8/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.8/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was closed. - */ "secret-scanning-alert/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70473,6 +72825,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70482,20 +72836,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.8/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.8/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was marked as revoked. - */ "secret-scanning-alert/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70516,6 +72866,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70525,18 +72877,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.8/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description A security advisory was published to the GitHub community. - */ "security-advisory/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70557,6 +72907,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70566,18 +72918,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.8/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. - */ "security-advisory/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70598,6 +72948,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70607,18 +72959,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.8/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.8/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description A previously published security advisory was withdrawn. - */ "security-advisory/withdrawn": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70639,6 +72989,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70648,17 +73000,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.8/code-security/getting-started/github-security-features)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ "security-and-analysis": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70679,6 +73030,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70688,20 +73041,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsorship was cancelled and the last billing cycle has ended. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70722,6 +73071,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70731,18 +73082,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. - */ "sponsorship/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70763,6 +73112,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70772,18 +73123,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. - */ "sponsorship/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70804,6 +73153,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70813,20 +73164,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/pending-cancellation": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70847,6 +73194,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70856,18 +73205,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. - */ "sponsorship/pending-tier-change": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70888,6 +73235,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70897,18 +73246,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.8/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. - */ "sponsorship/tier-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70929,6 +73276,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70938,18 +73287,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.8/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.8/rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone starred a repository. - */ "star/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70970,6 +73317,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70979,18 +73328,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.8/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.8/rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone unstarred the repository. - */ "star/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71011,6 +73358,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71020,17 +73369,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.8/rest/commits/statuses)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ status: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71051,6 +73399,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71060,20 +73410,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.8/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." - * - * For activity relating to teams, see the `teams` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ "team-add": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71094,6 +73440,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71103,19 +73451,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was granted access to a repository. - */ "team/added-to-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71136,6 +73481,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71145,19 +73492,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was created. - */ "team/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71178,6 +73522,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71187,19 +73533,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was deleted. - */ "team/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71220,6 +73563,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71229,19 +73574,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name, description, or visibility of a team was changed. - */ "team/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71262,6 +73604,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71271,19 +73615,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team's access to a repository was removed. - */ "team/removed-from-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71304,6 +73645,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71313,16 +73656,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to user accounts in an enterprise. - * @description A user account was added to the enterprise. - */ "user/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71343,6 +73686,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71352,16 +73697,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to user accounts in an enterprise. - * @description A user account was removed from the enterprise. - */ "user/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71382,6 +73727,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71391,18 +73738,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-server@3.8/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-server@3.8/rest/activity/watching)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone started watching the repository. - */ "watch/started": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71423,6 +73768,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71432,19 +73779,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.8/actions/managing-workflow-runs/manually-running-a-workflow)." - * - * For activity relating to workflow runs, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ "workflow-dispatch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71465,6 +73809,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71474,20 +73820,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.8/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. - */ "workflow-job/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71508,6 +73850,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71517,20 +73861,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.8/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run started processing on a runner. - */ "workflow-job/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71551,6 +73891,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71560,20 +73902,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.8/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run was created. - */ "workflow-job/queued": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71594,6 +73932,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71603,20 +73943,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.8/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run was created and is waiting for approvals. - */ "workflow-job/waiting": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71637,6 +73973,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71646,20 +73984,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.8/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. - */ "workflow-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71680,6 +74014,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71689,20 +74025,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.8/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run started processing on a runner. - */ "workflow-run/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71723,6 +74055,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71732,20 +74066,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.8/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run was triggered. - */ "workflow-run/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71766,6 +74096,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71775,7 +74107,10 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; diff --git a/packages/openapi-webhooks-types-ghes-3.9/types.d.ts b/packages/openapi-webhooks-types-ghes-3.9/types.d.ts index bea5e8b..a985fa5 100644 --- a/packages/openapi-webhooks-types-ghes-3.9/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.9/types.d.ts @@ -1,2370 +1,5190 @@ -/** - * This file was auto-generated by openapi-typescript. - * Do not make direct changes to the file. - */ - -/** OneOf type helpers */ -type Without = { [P in Exclude]?: never }; -type XOR = T | U extends object - ? (Without & U) | (Without & T) - : T | U; -type OneOf = T extends [infer Only] - ? Only - : T extends [infer A, infer B, ...infer Rest] - ? OneOf<[XOR, ...Rest]> - : never; - export type paths = Record; - export interface webhooks { "branch-protection-rule-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.9/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.9/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was created. */ post: operations["branch-protection-rule/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-rule-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.9/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.9/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was deleted. */ post: operations["branch-protection-rule/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-rule-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.9/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.9/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was edited. */ post: operations["branch-protection-rule/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "cache-sync": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](https://docs.github.com/enterprise-server@3.9/admin/enterprise-management/caching-repositories/about-repository-caching)." */ post: operations["cache-sync"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.9/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run was completed, and a conclusion is available. */ post: operations["check-run/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.9/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A new check run was created. */ post: operations["check-run/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-requested-action": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.9/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.9/developers/apps/guides/creating-ci-tests-with-the-checks-api)." */ post: operations["check-run/requested-action"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.9/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. */ post: operations["check-run/rerequested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.9/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description All check runs in a check suite have completed, and a conclusion is available. */ post: operations["check-suite/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.9/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.9/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-server@3.9/rest/checks/runs#create-a-check-run)" in the REST API documentation. */ post: operations["check-suite/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.9/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.9/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-server@3.9/rest/checks/suites#create-a-check-suite)" in the REST API documentation. */ post: operations["check-suite/rerequested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-appeared-in-branch": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. */ post: operations["code-scanning-alert/appeared-in-branch"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-closed-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone closed a code scanning alert. */ post: operations["code-scanning-alert/closed-by-user"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was created in a repository. */ post: operations["code-scanning-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was fixed in a branch by a commit. */ post: operations["code-scanning-alert/fixed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously fixed code scanning alert reappeared in a branch. */ post: operations["code-scanning-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-reopened-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone reopened a code scanning alert. */ post: operations["code-scanning-alert/reopened-by-user"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "commit-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-server@3.9/rest/commits/comments)" in the REST API documentation. * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. + * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description Someone commented on a commit. */ post: operations["commit-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; create: { - /** - * This event occurs when a Git branch or tag is created. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a Git branch or tag is created. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ + * **Notes**: + * - This event will not occur when more than three tags are created at once. + * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. */ post: operations["create"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; delete: { - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including + * branch and tag deletions, use the [`push`](#push) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Note**: This event will not occur when more than three tags are deleted at once. - */ + * **Note**: This event will not occur when more than three tags are deleted at once. */ post: operations["delete"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.9/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.9/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.9/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.9/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.9/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.9/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-reintroduced": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.9/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.9/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.9/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.9/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deploy-key-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.9/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.9/rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was created. */ post: operations["deploy-key/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deploy-key-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.9/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.9/rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was deleted. */ post: operations["deploy-key/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.9/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.9/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment status, use the `deployment_status` event. + * For activity relating to deployment status, use the `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment was created. */ post: operations["deployment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-approved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.9/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.9/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was approved. */ post: operations["deployment-review/approved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-rejected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.9/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.9/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was rejected. */ post: operations["deployment-review/rejected"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.9/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.9/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was requested. */ post: operations["deployment-review/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-status-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.9/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.9/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation, use the `deployment` event. + * For activity relating to deployment creation, use the `deployment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A new deployment status was created. */ post: operations["deployment-status/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-answered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-category-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was closed. */ post: operations["discussion/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was created. */ post: operations["discussion/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was deleted. */ post: operations["discussion/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was locked. */ post: operations["discussion/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was pinned. */ post: operations["discussion/pinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was reopened. */ post: operations["discussion/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unanswered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "enterprise-anonymous-access-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.9/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was disabled. */ post: operations["enterprise/anonymous-access-disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "enterprise-anonymous-access-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.9/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was enabled. */ post: operations["enterprise/anonymous-access-enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; fork: { - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.9/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.9/rest/repos/forks)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.9/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.9/rest/repos/forks)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["fork"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "github-app-authorization-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. + * A GitHub App receives this webhook by default and cannot unsubscribe from this event. * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.9/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." + * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.9/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." * @description Someone revoked their authorization of a GitHub App. */ post: operations["github-app-authorization/revoked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; gollum: { - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.9/communities/documenting-your-project-with-wikis/about-wikis)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.9/communities/documenting-your-project-with-wikis/about-wikis)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["gollum"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. * @description Someone installed a GitHub App on a user or organization account. */ post: operations["installation/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. * @description Someone uninstalled a GitHub App from their user or organization account. */ post: operations["installation/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-new-permissions-accepted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. * @description Someone granted new permissions to a GitHub App. */ post: operations["installation/new-permissions-accepted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-repositories-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. * @description A GitHub App installation was granted access to one or more repositories. */ post: operations["installation-repositories/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-repositories-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. * @description Access to one or more repositories was revoked for a GitHub App installation. */ post: operations["installation-repositories/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-suspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. * @description Someone blocked access by a GitHub App to their user or organization account. */ post: operations["installation/suspend"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-target-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. * @description Somebody renamed the user or organization account that a GitHub App is installed on. */ post: operations["installation-target/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-unsuspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. */ post: operations["installation/unsuspend"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.9/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.9/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.9/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was created. */ post: operations["issue-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.9/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.9/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.9/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was deleted. */ post: operations["issue-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.9/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.9/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.9/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was edited. */ post: operations["issue-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was assigned to a user. */ post: operations["issues/assigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was closed. */ post: operations["issues/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was deleted. */ post: operations["issues/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was removed from a milestone. */ post: operations["issues/demilestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description The title or body on an issue was edited. */ post: operations["issues/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was added to an issue. */ post: operations["issues/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.9/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was added to a milestone. */ post: operations["issues/milestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. */ post: operations["issues/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/pinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A closed issue was reopened. */ post: operations["issues/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." */ post: operations["issues/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A user was unassigned from an issue. */ post: operations["issues/unassigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was removed from an issue. */ post: operations["issues/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.9/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/unpinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.9/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was created. */ post: operations["label/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.9/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was deleted. */ post: operations["label/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.9/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label's name, description, or color was changed. */ post: operations["label/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.9/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A GitHub user accepted an invitation to a repository. */ post: operations["member/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.9/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description Permissions were changed for a collaborator on a repository. */ post: operations["member/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.9/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A collaborator was removed from a repository. */ post: operations["member/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "membership-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.9/rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was added to a team. */ post: operations["membership/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "membership-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.9/rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was removed from a team. */ post: operations["membership/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "meta-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a webhook itself. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. * @description The webhook was deleted. */ post: operations["meta/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.9/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was closed. */ post: operations["milestone/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.9/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was created. */ post: operations["milestone/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.9/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was deleted. */ post: operations["milestone/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.9/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was edited. */ post: operations["milestone/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.9/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was opened. */ post: operations["milestone/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.9/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.9/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization was deleted. */ post: operations["organization/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.9/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.9/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member accepted an invitation to join an organization. */ post: operations["organization/member-added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-invited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.9/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.9/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was invited to join the organization. */ post: operations["organization/member-invited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.9/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.9/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was removed from the organization. */ post: operations["organization/member-removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.9/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.9/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name of an organization was changed. */ post: operations["organization/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.9/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A package was published to a registry. */ post: operations["package/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.9/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A previously published package was updated. */ post: operations["package/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "page-build": { - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.9/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.9/rest/pages)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.9/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.9/rest/pages)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. */ post: operations["page-build"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; ping: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ post: operations["ping"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note in a classic project was converted to an issue. */ post: operations["project-card/converted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card was added to a classic project. */ post: operations["project-card/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a classic project was deleted. */ post: operations["project-card/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note on a classic project was edited. */ post: operations["project-card/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a classic project was moved to another column or to another position in its column. */ post: operations["project-card/moved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was closed. */ post: operations["project/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was added to a classic project. */ post: operations["project-column/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was deleted from a classic project. */ post: operations["project-column/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name of a column on a classic project was changed. */ post: operations["project-column/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was moved to a new position on a classic project. */ post: operations["project-column/moved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was created. */ post: operations["project/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was deleted. */ post: operations["project/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name or description of a classic project was changed. */ post: operations["project/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was closed. */ post: operations["project/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was closed. */ post: operations["projects-v2/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was created. */ post: operations["projects-v2/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was deleted. */ post: operations["projects-v2/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The title, description, or README of a project in the organization was changed. */ post: operations["projects-v2/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/archived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A draft issue in an organization project was converted to an issue. */ post: operations["projects-v2-item/converted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was added to a project in the organization. */ post: operations["projects-v2-item/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was deleted from a project in the organization. */ post: operations["projects-v2-item/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. */ post: operations["projects-v2-item/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-reordered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. */ post: operations["projects-v2-item/reordered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-restored": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/restored"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was reopened. */ post: operations["projects-v2/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; public: { - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.9/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.9/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. */ post: operations["public"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was assigned to a user. */ post: operations["pull-request/assigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-auto-merge-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-auto-merge-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. */ post: operations["pull-request/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-converted-to-draft": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/converted-to-draft"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was removed from a milestone. */ post: operations["pull-request/demilestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The title or body of a pull request was edited. */ post: operations["pull-request/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was added to a pull request. */ post: operations["pull-request/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.9/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was added to a milestone. */ post: operations["pull-request/milestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was created */ post: operations["pull-request/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-ready-for-review": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/ready-for-review"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously closed pull request was reopened. */ post: operations["pull-request/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was created. */ post: operations["pull-request-review-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was deleted. */ post: operations["pull-request-review-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The content of a comment on a pull request diff was changed. */ post: operations["pull-request-review-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.9/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was dismissed. */ post: operations["pull-request-review/dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.9/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The body comment on a pull request review was edited. */ post: operations["pull-request-review/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-request-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A request for review by a person or team was removed from a pull request. */ post: operations["pull-request/review-request-removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." */ post: operations["pull-request/review-requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-submitted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.9/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was submitted. */ post: operations["pull-request-review/submitted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-thread-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment thread on a pull request was marked as resolved. */ post: operations["pull-request-review-thread/resolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-thread-unresolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously resolved comment thread on a pull request was marked as unresolved. */ post: operations["pull-request-review-thread/unresolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-synchronize": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. */ post: operations["pull-request/synchronize"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A user was unassigned from a pull request. */ post: operations["pull-request/unassigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was removed from a pull request. */ post: operations["pull-request/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.9/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; push: { - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, + * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch + * and tag deletions, use the [`delete`](#delete) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Note**: An event will not be created when more than three tags are pushed at once. - */ + * **Note**: An event will not be created when more than three tags are pushed at once. */ post: operations["push"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "registry-package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.9/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * **Note**: GitHub recommends that you use the newer `package` event instead. + * **Note**: GitHub recommends that you use the newer `package` event instead. * @description A package was published to a registry. */ post: operations["registry-package/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "registry-package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.9/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * **Note**: GitHub recommends that you use the newer `package` event instead. + * **Note**: GitHub recommends that you use the newer `package` event instead. * @description A package that was previously published to a registry was updated. */ post: operations["registry-package/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. */ post: operations["release/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft release was deleted. */ post: operations["release/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." */ post: operations["release/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-prereleased": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. */ post: operations["release/prereleased"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft of a release was published. */ post: operations["release/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-released": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was published, or a pre-release was changed to a release. */ post: operations["release/released"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-unpublished": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release or pre-release was unpublished. */ post: operations["release/unpublished"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-anonymous-access-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-anonymous-access-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was archived. */ post: operations["repository/archived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was created. */ post: operations["repository/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. */ post: operations["repository/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-dispatch-sample.collected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.9/rest/repos/repos#create-a-repository-dispatch-event). * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. */ post: operations["repository-dispatch/sample.collected"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The topics, default branch, description, or homepage of a repository was changed. */ post: operations["repository/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-privatized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `private`. */ post: operations["repository/privatized"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-publicized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `public`. */ post: operations["repository/publicized"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The name of a repository was changed. */ post: operations["repository/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. */ post: operations["repository/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-unarchived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A previously archived repository was unarchived. */ post: operations["repository/unarchived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-create": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was created. */ post: operations["repository-vulnerability-alert/create"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-dismiss": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was dismissed. */ post: operations["repository-vulnerability-alert/dismiss"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-reopen": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A previously dismissed or resolved repository vulnerability alert was reopened. */ post: operations["repository-vulnerability-alert/reopen"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-resolve": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was marked as resolved. */ post: operations["repository-vulnerability-alert/resolve"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.9/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was created. */ post: operations["secret-scanning-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-location-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.9/rest/secret-scanning)" in the REST API documentation. + * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.9/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. + * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. */ post: operations["secret-scanning-alert-location/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.9/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A previously closed secret scanning alert was reopened. */ post: operations["secret-scanning-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.9/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was closed. */ post: operations["secret-scanning-alert/resolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.9/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was marked as revoked. */ post: operations["secret-scanning-alert/revoked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.9/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description A security advisory was published to the GitHub community. */ post: operations["security-advisory/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.9/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. */ post: operations["security-advisory/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-withdrawn": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.9/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description A previously published security advisory was withdrawn. */ post: operations["security-advisory/withdrawn"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-and-analysis": { - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.9/code-security/getting-started/github-security-features)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.9/code-security/getting-started/github-security-features)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. */ post: operations["security-and-analysis"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsorship was cancelled and the last billing cycle has ended. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/cancelled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. */ post: operations["sponsorship/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. */ post: operations["sponsorship/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-pending-cancellation": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/pending-cancellation"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-pending-tier-change": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. */ post: operations["sponsorship/pending-tier-change"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-tier-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. */ post: operations["sponsorship/tier-changed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "star-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.9/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.9/rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone starred a repository. */ post: operations["star/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "star-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.9/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.9/rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone unstarred the repository. */ post: operations["star/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; status: { - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.9/rest/commits/statuses)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.9/rest/commits/statuses)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. */ post: operations["status"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-add": { - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.9/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a team is added to a repository. + * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.9/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." * - * For activity relating to teams, see the `teams` event. + * For activity relating to teams, see the `teams` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. */ post: operations["team-add"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-added-to-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was granted access to a repository. */ post: operations["team/added-to-repository"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was created. */ post: operations["team/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was deleted. */ post: operations["team/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name, description, or visibility of a team was changed. */ post: operations["team/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-removed-from-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team's access to a repository was removed. */ post: operations["team/removed-from-repository"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "user-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was added to the enterprise. */ post: operations["user/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "user-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was removed from the enterprise. */ post: operations["user/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "watch-started": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-server@3.9/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-server@3.9/rest/activity/watching)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone started watching the repository. */ post: operations["watch/started"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-dispatch": { - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.9/actions/managing-workflow-runs/manually-running-a-workflow)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.9/actions/managing-workflow-runs/manually-running-a-workflow)." * - * For activity relating to workflow runs, use the `workflow_run` event. + * For activity relating to workflow runs, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["workflow-dispatch"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.9/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. */ post: operations["workflow-job/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.9/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run started processing on a runner. */ post: operations["workflow-job/in-progress"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-queued": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.9/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run was created. */ post: operations["workflow-job/queued"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-waiting": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.9/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run was created and is waiting for approvals. */ post: operations["workflow-job/waiting"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.9/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. */ post: operations["workflow-run/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.9/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run started processing on a runner. */ post: operations["workflow-run/in-progress"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.9/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run was triggered. */ post: operations["workflow-run/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; } - export interface components { schemas: { /** branch protection rule created event */ @@ -2440,8 +5260,9 @@ export interface components { /** * Enterprise * @description An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured - * on an enterprise account or an organization that's part of an enterprise account. For more information, - * see "[About enterprise accounts](https://docs.github.com/enterprise-server@3.9/admin/overview/about-enterprise-accounts)." + * on an enterprise account or an organization that's part of an enterprise account. For more information, + * see "[About enterprise accounts](https://docs.github.com/enterprise-server@3.9/admin/overview/about-enterprise-accounts)." + * */ "enterprise-webhooks": { /** @description A short description of the enterprise. */ @@ -2470,8 +5291,8 @@ export interface components { /** * Simple Installation * @description The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured - * for and sent to a GitHub App. For more information, - * see "[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-server@3.9/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + * for and sent to a GitHub App. For more information, + * see "[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-server@3.9/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." */ "simple-installation": { /** @description The ID of the installation. */ @@ -2482,7 +5303,7 @@ export interface components { /** * Organization Simple * @description A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an - * organization, or when the event occurs from activity in a repository owned by an organization. + * organization, or when the event occurs from activity in a repository owned by an organization. */ "organization-simple-webhooks": { login: string; @@ -2504,7 +5325,7 @@ export interface components { /** * Repository * @description The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property - * when the event occurs from activity in a repository. + * when the event occurs from activity in a repository. */ "repository-webhooks": { /** @description Unique identifier of the repository */ @@ -2606,7 +5427,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template?: boolean; + is_template: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -2633,7 +5454,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; /** * @description Whether the repository is archived. * @default false @@ -2645,7 +5466,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility?: string; + visibility: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -2656,7 +5477,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; template_repository?: { id?: number; node_id?: string; @@ -2766,34 +5587,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -2806,59 +5627,59 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch?: boolean; + allow_update_branch: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -2866,14 +5687,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required?: boolean; + web_commit_signoff_required: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -3231,9 +6052,9 @@ export interface components { /** * @description The set of permissions for the GitHub app * @example { - * "issues": "read", - * "deployments": "write" - * } + * "issues": "read", + * "deployments": "write" + * } */ permissions: { issues?: string; @@ -3241,7 +6062,7 @@ export interface components { metadata?: string; contents?: string; deployments?: string; - [key: string]: string | undefined; + [key: string]: string; }; /** @description The list of events for the GitHub app */ events: string[]; @@ -5283,10 +8104,10 @@ export interface components { * @description The state of the Dependabot alert. * @enum {string} */ - state: "auto_dismissed" | "dismissed" | "fixed" | "open"; + readonly state: "auto_dismissed" | "dismissed" | "fixed" | "open"; /** @description Details for the vulnerable dependency. */ - dependency: { - readonly package?: components["schemas"]["dependabot-alert-package"]; + readonly dependency: { + package?: components["schemas"]["dependabot-alert-package"]; /** @description The full path to the dependency manifest file, relative to the root of the repository. */ readonly manifest_path?: string; /** @@ -5320,16 +8141,16 @@ export interface components { auto_dismissed_at?: components["schemas"]["alert-auto-dismissed-at"]; }; /** @description The security alert number. */ - readonly "alert-number": number; + "alert-number": number; /** @description Details for the vulnerable package. */ - readonly "dependabot-alert-package": { + "dependabot-alert-package": { /** @description The package's language or package management ecosystem. */ readonly ecosystem: string; /** @description The unique package name within its ecosystem. */ readonly name: string; }; /** @description Details for the GitHub Security Advisory. */ - readonly "dependabot-alert-security-advisory": { + "dependabot-alert-security-advisory": { /** @description The unique GitHub Security Advisory ID assigned to the advisory. */ readonly ghsa_id: string; /** @description The unique CVE ID assigned to the advisory. */ @@ -5339,7 +8160,7 @@ export interface components { /** @description A long-form Markdown-supported description of the advisory. */ readonly description: string; /** @description Vulnerable version range information for the advisory. */ - readonly vulnerabilities: readonly components["schemas"]["dependabot-alert-security-vulnerability"][]; + readonly vulnerabilities: components["schemas"]["dependabot-alert-security-vulnerability"][]; /** * @description The severity of the advisory. * @enum {string} @@ -5353,14 +8174,14 @@ export interface components { readonly vector_string: string | null; }; /** @description Details for the advisory pertaining to Common Weakness Enumeration. */ - readonly cwes: readonly { + readonly cwes: { /** @description The unique CWE ID. */ readonly cwe_id: string; /** @description The short, plain text name of the CWE. */ readonly name: string; }[]; /** @description Values that identify this advisory among security information sources. */ - readonly identifiers: readonly { + readonly identifiers: { /** * @description The type of advisory identifier. * @enum {string} @@ -5370,7 +8191,7 @@ export interface components { readonly value: string; }[]; /** @description Links to additional advisory information. */ - readonly references: readonly { + readonly references: { /** * Format: uri * @description The URL of the reference. @@ -5394,8 +8215,8 @@ export interface components { readonly withdrawn_at: string | null; }; /** @description Details pertaining to one vulnerable version range for the advisory. */ - readonly "dependabot-alert-security-vulnerability": { - readonly package: components["schemas"]["dependabot-alert-package"]; + "dependabot-alert-security-vulnerability": { + package: components["schemas"]["dependabot-alert-package"]; /** * @description The severity of the vulnerability. * @enum {string} @@ -5413,37 +8234,37 @@ export interface components { * Format: uri * @description The REST API URL of the alert resource. */ - readonly "alert-url": string; + "alert-url": string; /** * Format: uri * @description The GitHub URL of the alert resource. */ - readonly "alert-html-url": string; + "alert-html-url": string; /** * Format: date-time * @description The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-created-at": string; + "alert-created-at": string; /** * Format: date-time * @description The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-updated-at": string; + "alert-updated-at": string; /** * Format: date-time * @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-dismissed-at": string | null; + "alert-dismissed-at": string | null; /** * Format: date-time * @description The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-fixed-at": string | null; + "alert-fixed-at": string | null; /** * Format: date-time * @description The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-auto-dismissed-at": string | null; + "alert-auto-dismissed-at": string | null; /** Dependabot alert dismissed event */ "webhook-dependabot-alert-dismissed": { /** @enum {string} */ @@ -7366,7 +10187,8 @@ export interface components { id: number; node_id: string; original_environment: string; - payload: string | Record | null; + payload: (null | Record) & + (string | Record); /** * App * @description GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. @@ -8320,8 +11142,8 @@ export interface components { repository_url: string; /** * @description The current state of the discussion. - * `converting` means that the discussion is being converted from an issue. - * `transferring` means that the discussion is being transferred from another repository. + * `converting` means that the discussion is being converted from an issue. + * `transferring` means that the discussion is being transferred from another repository. * @enum {string} */ state: "open" | "closed" | "locked" | "converting" | "transferring"; @@ -9155,24 +11977,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -9208,7 +12030,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -9347,7 +12169,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -9591,11 +12413,15 @@ export interface components { /** @description The ID of the installation. */ id: number; account: - | null | ( - | components["schemas"]["simple-user"] - | components["schemas"]["enterprise"] - ); + | null + | ( + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"] + ) + ) + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"]; /** * @description Describe whether all repositories have been selected or there's a selection involved * @enum {string} @@ -9658,11 +12484,11 @@ export interface components { * App Permissions * @description The permissions granted to the user access token. * @example { - * "contents": "read", - * "issues": "read", - * "deployments": "write", - * "single_file": "read" - * } + * "contents": "read", + * "issues": "read", + * "deployments": "write", + * "single_file": "read" + * } */ "app-permissions": { /** @@ -17103,24 +19929,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -17156,7 +19982,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -17297,7 +20123,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -19310,24 +22136,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -19363,7 +22189,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -19507,7 +22333,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -23593,19 +26419,16 @@ export interface components { | { id?: number | string; name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -25095,22 +27918,19 @@ export interface components { "webhook-projects-v2-item-edited": { /** @enum {string} */ action: "edited"; - changes?: OneOf< - [ - { + changes?: + | { field_value: { field_node_id?: string; field_type?: string; }; - }, - { + } + | { body: { from?: string | null; to?: string | null; }; - }, - ] - >; + }; installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; @@ -25414,24 +28234,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -25467,7 +28287,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -25551,17 +28371,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -25628,7 +28448,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -25636,9 +28456,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -25648,8 +28468,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -25681,7 +28501,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -25757,24 +28577,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -25810,7 +28630,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -25894,17 +28714,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -25971,7 +28791,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -25979,9 +28799,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -25991,8 +28811,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -26024,7 +28844,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -26214,9 +29034,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -26251,8 +29070,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -26302,9 +29121,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -26626,24 +29444,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -26679,7 +29497,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -26763,17 +29581,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -26840,7 +29658,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -26848,9 +29666,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -26860,8 +29678,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -26893,7 +29711,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -26969,24 +29787,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -27022,7 +29840,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -27106,17 +29924,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -27183,7 +30001,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -27191,9 +30009,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -27203,8 +30021,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -27236,7 +30054,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -27426,9 +30244,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -27463,8 +30280,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -27514,9 +30331,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -27839,24 +30655,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -27892,7 +30708,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -27976,17 +30792,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -28053,7 +30869,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -28061,9 +30877,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -28073,8 +30889,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28106,7 +30922,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -28182,24 +30998,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -28235,7 +31051,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28319,17 +31135,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -28396,7 +31212,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -28404,9 +31220,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -28416,8 +31232,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28449,7 +31265,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -28639,9 +31455,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -28676,8 +31491,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -28727,9 +31542,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -28855,41 +31669,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28897,7 +31711,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -29467,41 +32281,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29509,7 +32323,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -29726,24 +32540,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29779,7 +32593,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29863,17 +32677,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -29940,7 +32754,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -29948,9 +32762,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -29960,8 +32774,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29993,7 +32807,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30069,24 +32883,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30122,7 +32936,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30206,17 +33020,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -30283,7 +33097,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -30291,9 +33105,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -30303,8 +33117,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30336,7 +33150,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30526,9 +33340,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -30563,8 +33376,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -30614,9 +33427,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -30760,41 +33572,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30802,7 +33614,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender?: components["schemas"]["simple-user-webhooks"]; @@ -31035,24 +33847,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31088,7 +33900,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31172,17 +33984,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -31249,7 +34061,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -31257,9 +34069,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -31269,8 +34081,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31302,7 +34114,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31378,24 +34190,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31431,7 +34243,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31515,17 +34327,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -31592,7 +34404,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -31600,9 +34412,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -31612,8 +34424,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31645,7 +34457,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31835,9 +34647,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -31872,8 +34683,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -31923,9 +34734,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -32248,24 +35058,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32301,7 +35111,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32385,17 +35195,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32462,7 +35272,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32470,9 +35280,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32482,8 +35292,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -32515,7 +35325,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32591,24 +35401,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32644,7 +35454,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32728,17 +35538,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32805,7 +35615,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32813,9 +35623,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32825,8 +35635,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -32858,7 +35668,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33048,9 +35858,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -33085,8 +35894,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -33136,9 +35945,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -33461,24 +36269,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33514,7 +36322,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33598,17 +36406,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -33675,7 +36483,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -33683,9 +36491,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -33695,8 +36503,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33728,7 +36536,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33804,24 +36612,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33857,7 +36665,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33941,17 +36749,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -34018,7 +36826,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -34026,9 +36834,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -34038,8 +36846,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34071,7 +36879,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -34261,9 +37069,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -34298,8 +37105,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -34349,9 +37156,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -34476,41 +37282,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34518,7 +37324,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -34537,41 +37343,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34579,7 +37385,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -34598,41 +37404,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34640,7 +37446,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -35006,24 +37812,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35059,7 +37865,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35143,17 +37949,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -35220,7 +38026,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -35228,9 +38034,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -35240,8 +38046,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -35273,7 +38079,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35342,24 +38148,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35395,7 +38201,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35444,7 +38250,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; homepage: string | null; /** Format: uri */ hooks_url: string; @@ -35479,17 +38285,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -35556,7 +38362,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -35564,9 +38370,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -35576,8 +38382,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -35609,7 +38415,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35754,9 +38560,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -35791,8 +38596,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -35842,9 +38647,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -36310,24 +39114,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36363,7 +39167,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36447,17 +39251,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -36524,7 +39328,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -36532,9 +39336,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -36544,8 +39348,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -36577,7 +39381,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36646,24 +39450,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36699,7 +39503,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36783,17 +39587,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -36860,7 +39664,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -36868,9 +39672,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -36880,8 +39684,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -36913,7 +39717,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37058,9 +39862,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -37095,8 +39898,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -37146,9 +39949,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -37621,24 +40423,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37674,7 +40476,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37758,17 +40560,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -37835,7 +40637,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -37843,9 +40645,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -37855,8 +40657,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37888,7 +40690,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37957,24 +40759,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38010,7 +40812,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38094,17 +40896,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -38171,7 +40973,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -38179,9 +40981,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -38191,8 +40993,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -38224,7 +41026,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38369,9 +41171,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -38406,8 +41207,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -38457,9 +41258,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -38773,24 +41573,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38826,7 +41626,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38910,17 +41710,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -38987,7 +41787,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -38995,9 +41795,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -39007,8 +41807,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -39040,7 +41840,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39109,24 +41909,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39162,7 +41962,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39246,17 +42046,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -39323,7 +42123,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -39331,9 +42131,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -39343,8 +42143,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -39376,7 +42176,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39521,9 +42321,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -39558,8 +42357,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -39609,9 +42408,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -40012,24 +42810,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40065,7 +42863,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40204,7 +43002,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -40299,24 +43097,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40352,7 +43150,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40491,7 +43289,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -40662,9 +43460,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -40699,8 +43496,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -40750,9 +43547,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -40938,9 +43734,8 @@ export interface components { sender: components["schemas"]["simple-user-webhooks"]; }; /** pull_request review_request_removed event */ - "webhook-pull-request-review-request-removed": OneOf< - [ - { + "webhook-pull-request-review-request-removed": + | { /** @enum {string} */ action: "review_request_removed"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -41151,24 +43946,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41204,7 +43999,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41288,17 +44083,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41365,7 +44160,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41411,7 +44206,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41487,24 +44282,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41540,7 +44335,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41624,17 +44419,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41701,7 +44496,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41709,9 +44504,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -41721,8 +44516,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -41754,7 +44549,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41944,9 +44739,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -41981,8 +44775,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -42032,9 +44826,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -42181,8 +44974,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_request_removed"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -42393,24 +45186,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42446,7 +45239,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42530,17 +45323,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -42607,7 +45400,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42615,9 +45408,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -42627,8 +45420,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -42660,7 +45453,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42736,24 +45529,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42789,7 +45582,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42873,17 +45666,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -42950,7 +45743,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42958,9 +45751,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -42970,8 +45763,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -43003,7 +45796,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -43193,9 +45986,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -43230,8 +46022,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -43281,9 +46073,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -43448,13 +46239,10 @@ export interface components { url: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request review_requested event */ - "webhook-pull-request-review-requested": OneOf< - [ - { + "webhook-pull-request-review-requested": + | { /** @enum {string} */ action: "review_requested"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -43665,24 +46453,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43718,7 +46506,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43802,17 +46590,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -43879,7 +46667,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -43887,9 +46675,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -43899,8 +46687,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -43932,7 +46720,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44008,24 +46796,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44061,7 +46849,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44145,17 +46933,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -44222,7 +47010,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -44230,9 +47018,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -44242,8 +47030,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -44275,7 +47063,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44465,9 +47253,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -44502,8 +47289,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -44553,9 +47340,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -44702,8 +47488,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_requested"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -44914,24 +47700,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44967,7 +47753,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45051,17 +47837,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -45128,7 +47914,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -45136,9 +47922,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -45148,8 +47934,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -45181,7 +47967,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45257,24 +48043,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45310,7 +48096,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45394,17 +48180,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -45471,7 +48257,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -45479,9 +48265,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -45491,8 +48277,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -45524,7 +48310,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45714,9 +48500,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -45751,8 +48536,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -45802,9 +48587,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -45969,9 +48753,7 @@ export interface components { url?: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request_review submitted event */ "webhook-pull-request-review-submitted": { /** @enum {string} */ @@ -46181,24 +48963,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46234,7 +49016,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46318,17 +49100,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -46395,7 +49177,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -46403,9 +49185,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -46415,8 +49197,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -46448,7 +49230,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46517,24 +49299,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46570,7 +49352,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46654,17 +49436,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -46731,7 +49513,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -46739,9 +49521,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -46751,8 +49533,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -46784,7 +49566,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46929,9 +49711,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -46966,8 +49747,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -47017,9 +49798,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -47413,24 +50193,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47466,7 +50246,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47610,7 +50390,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -47707,24 +50487,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47760,7 +50540,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47904,7 +50684,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -48077,9 +50857,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -48114,8 +50893,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -48165,9 +50944,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -48633,24 +51411,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48686,7 +51464,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48830,7 +51608,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -48927,24 +51705,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48980,7 +51758,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49124,7 +51902,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -49297,9 +52075,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -49334,8 +52111,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -49385,9 +52162,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -49858,24 +52634,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49911,7 +52687,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49995,17 +52771,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -50072,7 +52848,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -50080,9 +52856,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -50092,8 +52868,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -50125,7 +52901,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -50201,24 +52977,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50254,7 +53030,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50408,7 +53184,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -50416,9 +53192,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -50428,8 +53204,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -50461,7 +53237,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -50651,9 +53427,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -50688,8 +53463,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -50739,9 +53514,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -51101,24 +53875,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51154,7 +53928,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51238,17 +54012,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -51315,7 +54089,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -51323,9 +54097,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -51335,8 +54109,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -51368,7 +54142,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -51444,24 +54218,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51497,7 +54271,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51581,17 +54355,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -51658,7 +54432,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -51666,9 +54440,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -51678,8 +54452,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -51711,7 +54485,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -51901,9 +54675,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -51938,8 +54711,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -51989,9 +54762,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -52330,24 +55102,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52383,7 +55155,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52467,17 +55239,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -52544,7 +55316,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -52552,9 +55324,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -52564,8 +55336,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -52597,7 +55369,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -52673,24 +55445,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52726,7 +55498,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52880,7 +55652,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -52888,9 +55660,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -52900,8 +55672,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -52933,7 +55705,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53123,9 +55895,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -53160,8 +55931,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -53211,9 +55982,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -53536,24 +56306,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53589,7 +56359,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53673,17 +56443,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -53750,7 +56520,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53758,9 +56528,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -53770,8 +56540,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -53803,7 +56573,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53879,24 +56649,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53932,7 +56702,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54016,17 +56786,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -54093,7 +56863,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -54101,9 +56871,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -54113,8 +56883,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -54146,7 +56916,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -54336,9 +57106,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -54373,8 +57142,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -54424,9 +57193,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -54681,24 +57449,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54734,7 +57502,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54878,7 +57646,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -55000,19 +57768,23 @@ export interface components { name?: string; version?: string; npm_user?: string; - author?: string | Record | null; - bugs?: string | Record | null; + author?: (null | Record) & + (string | Record); + bugs?: (null | Record) & + (string | Record); dependencies?: Record; dev_dependencies?: Record; peer_dependencies?: Record; optional_dependencies?: Record; description?: string; - dist?: string | Record | null; + dist?: (null | Record) & + (string | Record); git_head?: string; homepage?: string; license?: string; main?: string; - repository?: string | Record | null; + repository?: (null | Record) & + (string | Record); scripts?: Record; id?: string; node_version?: string; @@ -55025,7 +57797,8 @@ export interface components { files?: string[]; bin?: Record; man?: Record; - directories?: string | Record | null; + directories?: (null | Record) & + (string | Record); os?: string[]; cpu?: string[]; readme?: string; @@ -55037,21 +57810,19 @@ export interface components { } | null; nuget_metadata?: | { - id?: string | Record | number | null; + id?: (null | Record) & + (string | Record | number); name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -57487,34 +60258,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -57534,7 +60305,7 @@ export interface components { * @description Whether anonymous git access is allowed. * @default true */ - anonymous_access_enabled?: boolean; + anonymous_access_enabled: boolean; code_of_conduct?: components["schemas"]["code-of-conduct-simple"]; security_and_analysis?: components["schemas"]["security-and-analysis"]; }; @@ -57642,7 +60413,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template?: boolean; + is_template: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -57670,7 +60441,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; /** * @description Whether the repository is archived. * @default false @@ -57682,7 +60453,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility?: string; + visibility: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -57693,7 +60464,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; template_repository?: { id?: number; node_id?: string; @@ -57803,34 +60574,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -57843,59 +60614,59 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch?: boolean; + allow_update_branch: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -57903,14 +60674,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required?: boolean; + web_commit_signoff_required: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -59014,24 +61785,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59067,7 +61838,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59206,7 +61977,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -59313,24 +62084,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59366,7 +62137,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59505,7 +62276,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -59612,24 +62383,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59665,7 +62436,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59804,7 +62575,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -59938,24 +62709,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59991,7 +62762,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -60130,7 +62901,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -60237,24 +63008,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -60290,7 +63061,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -60429,7 +63200,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -60755,14 +63526,11 @@ export interface components { ref: string; /** @description Parameter to specify a task to execute */ task: string; - payload: OneOf< - [ - { + payload: + | { [key: string]: unknown; - }, - string, - ] - >; + } + | string; original_environment?: string; /** @description Name for the target deployment environment. */ environment: string; @@ -62912,20 +65680,11 @@ export interface components { headers: never; pathItems: never; } - export type $defs = Record; - -export type external = Record; - export interface operations { - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.9/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.9/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was created. - */ "branch-protection-rule/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62946,6 +65705,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62955,18 +65716,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.9/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.9/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was deleted. - */ "branch-protection-rule/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62987,6 +65746,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62996,18 +65757,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.9/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.9/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was edited. - */ "branch-protection-rule/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63028,6 +65787,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63037,13 +65798,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](https://docs.github.com/enterprise-server@3.9/admin/enterprise-management/caching-repositories/about-repository-caching)." */ "cache-sync": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63064,6 +65828,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63073,24 +65839,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.9/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run was completed, and a conclusion is available. - */ "check-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63111,6 +65869,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63120,24 +65880,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.9/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A new check run was created. - */ "check-run/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63158,6 +65910,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63167,24 +65921,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.9/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.9/developers/apps/guides/creating-ci-tests-with-the-checks-api)." - */ "check-run/requested-action": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63205,6 +65951,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63214,24 +65962,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.9/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. - */ "check-run/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63252,6 +65992,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63261,24 +66003,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.9/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description All check runs in a check suite have completed, and a conclusion is available. - */ "check-suite/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63299,6 +66033,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63308,24 +66044,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.9/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.9/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-server@3.9/rest/checks/runs#create-a-check-run)" in the REST API documentation. - */ "check-suite/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63346,6 +66074,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63355,24 +66085,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.9/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.9/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-server@3.9/rest/checks/suites#create-a-check-suite)" in the REST API documentation. - */ "check-suite/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63393,6 +66115,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63402,18 +66126,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. - */ "code-scanning-alert/appeared-in-branch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63434,6 +66156,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63443,18 +66167,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone closed a code scanning alert. - */ "code-scanning-alert/closed-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63475,6 +66197,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63484,18 +66208,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was created in a repository. - */ "code-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63516,6 +66238,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63525,18 +66249,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was fixed in a branch by a commit. - */ "code-scanning-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63557,6 +66279,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63566,18 +66290,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously fixed code scanning alert reappeared in a branch. - */ "code-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63598,6 +66320,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63607,18 +66331,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone reopened a code scanning alert. - */ "code-scanning-alert/reopened-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63639,6 +66361,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63648,20 +66372,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-server@3.9/rest/commits/comments)" in the REST API documentation. - * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description Someone commented on a commit. - */ "commit-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63682,6 +66402,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63691,21 +66413,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is created. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ create: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63726,6 +66443,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63735,20 +66454,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Note**: This event will not occur when more than three tags are deleted at once. - */ delete: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63769,6 +66484,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63778,22 +66495,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.9/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. - */ "dependabot-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63814,6 +66525,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63823,22 +66536,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.9/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually closed. - */ "dependabot-alert/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63859,6 +66566,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63868,22 +66577,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.9/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change removed a vulnerability. - */ "dependabot-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63904,6 +66607,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63913,22 +66618,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.9/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. - */ "dependabot-alert/reintroduced": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63949,6 +66648,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63958,22 +66659,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.9/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually reopened. - */ "dependabot-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63994,6 +66689,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64003,18 +66700,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.9/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.9/rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was created. - */ "deploy-key/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64035,6 +66730,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64044,18 +66741,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.9/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.9/rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was deleted. - */ "deploy-key/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64076,6 +66771,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64085,20 +66782,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.9/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.9/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment status, use the `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment was created. - */ "deployment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64119,6 +66812,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64128,20 +66823,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.9/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.9/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was approved. - */ "deployment-review/approved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64162,6 +66853,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64171,20 +66864,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.9/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.9/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was rejected. - */ "deployment-review/rejected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64205,6 +66894,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64214,20 +66905,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.9/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.9/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was requested. - */ "deployment-review/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64248,6 +66935,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64257,20 +66946,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.9/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.9/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation, use the `deployment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A new deployment status was created. - */ "deployment-status/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64291,6 +66976,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64300,22 +66987,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was marked as the answer. - */ "discussion/answered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64336,6 +67017,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64345,22 +67028,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The category of a discussion was changed. - */ "discussion/category-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64381,6 +67058,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64390,22 +67069,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was closed. - */ "discussion/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64426,6 +67099,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64435,22 +67110,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was created. - */ "discussion-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64471,6 +67140,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64480,22 +67151,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was deleted. - */ "discussion-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64516,6 +67181,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64525,22 +67192,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was edited. - */ "discussion-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64561,6 +67222,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64570,22 +67233,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was created. - */ "discussion/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64606,6 +67263,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64615,22 +67274,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was deleted. - */ "discussion/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64651,6 +67304,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64660,22 +67315,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The title or body on a discussion was edited, or the category of the discussion was changed. - */ "discussion/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64696,6 +67345,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64705,22 +67356,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was added to a discussion. - */ "discussion/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64741,6 +67386,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64750,22 +67397,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was locked. - */ "discussion/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64786,6 +67427,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64795,22 +67438,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was pinned. - */ "discussion/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64831,6 +67468,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64840,22 +67479,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was reopened. - */ "discussion/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64876,6 +67509,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64885,22 +67520,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was transferred to another repository. - */ "discussion/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64921,6 +67550,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64930,22 +67561,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was unmarked as the answer. - */ "discussion/unanswered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64966,6 +67591,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64975,22 +67602,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was removed from a discussion. - */ "discussion/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65011,6 +67632,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65020,22 +67643,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unlocked. - */ "discussion/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65056,6 +67673,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65065,22 +67684,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unpinned. - */ "discussion/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65101,6 +67714,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65110,16 +67725,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.9/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." - * @description Anonymous Git read access was disabled. - */ "enterprise/anonymous-access-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65140,6 +67755,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65149,16 +67766,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.9/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." - * @description Anonymous Git read access was enabled. - */ "enterprise/anonymous-access-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65179,6 +67796,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65188,17 +67807,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.9/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.9/rest/repos/forks)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ fork: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65219,6 +67837,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65228,20 +67848,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. - * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. - * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.9/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." - * @description Someone revoked their authorization of a GitHub App. - */ "github-app-authorization/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65262,6 +67878,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65271,17 +67889,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.9/communities/documenting-your-project-with-wikis/about-wikis)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ gollum: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65302,6 +67919,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65311,18 +67930,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. - * @description Someone installed a GitHub App on a user or organization account. - */ "installation/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65343,6 +67960,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65352,18 +67971,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. - * @description Someone uninstalled a GitHub App from their user or organization account. - */ "installation/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65384,6 +68001,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65393,18 +68012,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. - * @description Someone granted new permissions to a GitHub App. - */ "installation/new-permissions-accepted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65425,6 +68042,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65434,18 +68053,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. - * @description A GitHub App installation was granted access to one or more repositories. - */ "installation-repositories/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65466,6 +68083,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65475,18 +68094,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. - * @description Access to one or more repositories was revoked for a GitHub App installation. - */ "installation-repositories/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65507,6 +68124,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65516,18 +68135,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. - * @description Someone blocked access by a GitHub App to their user or organization account. - */ "installation/suspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65548,6 +68165,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65557,16 +68176,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. - * @description Somebody renamed the user or organization account that a GitHub App is installed on. - */ "installation-target/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65587,6 +68206,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65596,18 +68217,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. - * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. - */ "installation/unsuspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65628,6 +68247,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65637,20 +68258,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.9/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.9/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was created. - */ "issue-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65671,6 +68288,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65680,20 +68299,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.9/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.9/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was deleted. - */ "issue-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65714,6 +68329,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65723,20 +68340,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.9/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.9/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was edited. - */ "issue-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65757,6 +68370,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65766,20 +68381,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was assigned to a user. - */ "issues/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65800,6 +68411,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65809,20 +68422,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was closed. - */ "issues/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65843,6 +68452,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65852,20 +68463,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was deleted. - */ "issues/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65886,6 +68493,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65895,20 +68504,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was removed from a milestone. - */ "issues/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65929,6 +68534,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65938,20 +68545,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description The title or body on an issue was edited. - */ "issues/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65972,6 +68575,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65981,20 +68586,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was added to an issue. - */ "issues/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66015,6 +68616,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66024,20 +68627,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.9/communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66058,6 +68657,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66067,20 +68668,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was added to a milestone. - */ "issues/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66101,6 +68698,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66110,20 +68709,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. - */ "issues/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66144,6 +68739,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66153,20 +68750,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66187,6 +68780,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66196,20 +68791,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A closed issue was reopened. - */ "issues/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66230,6 +68821,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66239,20 +68832,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." - */ "issues/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66273,6 +68862,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66282,20 +68873,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A user was unassigned from an issue. - */ "issues/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66316,6 +68903,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66325,20 +68914,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was removed from an issue. - */ "issues/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66359,6 +68944,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66368,20 +68955,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.9/communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66402,6 +68985,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66411,20 +68996,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66445,6 +69026,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66454,20 +69037,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.9/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was created. - */ "label/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66488,6 +69067,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66497,20 +69078,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.9/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was deleted. - */ "label/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66531,6 +69108,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66540,20 +69119,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.9/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label's name, description, or color was changed. - */ "label/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66574,6 +69149,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66583,18 +69160,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.9/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A GitHub user accepted an invitation to a repository. - */ "member/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66615,6 +69190,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66624,18 +69201,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.9/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description Permissions were changed for a collaborator on a repository. - */ "member/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66656,6 +69231,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66665,18 +69242,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.9/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A collaborator was removed from a repository. - */ "member/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66697,6 +69272,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66706,18 +69283,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.9/rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was added to a team. - */ "membership/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66738,6 +69313,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66747,18 +69324,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.9/rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was removed from a team. - */ "membership/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66779,6 +69354,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66788,18 +69365,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a webhook itself. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. - * @description The webhook was deleted. - */ "meta/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66820,6 +69395,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66829,20 +69406,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.9/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was closed. - */ "milestone/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66863,6 +69436,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66872,20 +69447,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.9/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was created. - */ "milestone/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66906,6 +69477,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66915,20 +69488,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.9/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was deleted. - */ "milestone/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66949,6 +69518,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66958,20 +69529,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.9/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was edited. - */ "milestone/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66992,6 +69559,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67001,20 +69570,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.9/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was opened. - */ "milestone/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67035,6 +69600,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67044,20 +69611,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.9/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.9/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization was deleted. - */ "organization/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67078,6 +69641,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67087,20 +69652,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.9/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.9/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member accepted an invitation to join an organization. - */ "organization/member-added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67121,6 +69682,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67130,20 +69693,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.9/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.9/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was invited to join the organization. - */ "organization/member-invited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67164,6 +69723,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67173,20 +69734,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.9/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.9/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was removed from the organization. - */ "organization/member-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67207,6 +69764,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67216,20 +69775,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.9/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.9/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name of an organization was changed. - */ "organization/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67250,6 +69805,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67259,18 +69816,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.9/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A package was published to a registry. - */ "package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67291,6 +69846,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67300,18 +69857,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.9/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A previously published package was updated. - */ "package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67332,6 +69887,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67341,17 +69898,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.9/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.9/rest/pages)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ "page-build": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67372,6 +69928,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67381,13 +69939,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ ping: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67408,6 +69969,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67417,20 +69980,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note in a classic project was converted to an issue. - */ "project-card/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67451,6 +70010,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67460,20 +70021,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card was added to a classic project. - */ "project-card/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67494,6 +70051,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67503,20 +70062,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a classic project was deleted. - */ "project-card/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67537,6 +70092,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67546,20 +70103,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note on a classic project was edited. - */ "project-card/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67580,6 +70133,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67589,20 +70144,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a classic project was moved to another column or to another position in its column. - */ "project-card/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67623,6 +70174,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67632,20 +70185,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was closed. - */ "project/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67666,6 +70215,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67675,20 +70226,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was added to a classic project. - */ "project-column/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67709,6 +70256,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67718,20 +70267,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was deleted from a classic project. - */ "project-column/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67752,6 +70297,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67761,20 +70308,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name of a column on a classic project was changed. - */ "project-column/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67795,6 +70338,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67804,20 +70349,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was moved to a new position on a classic project. - */ "project-column/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67838,6 +70379,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67847,20 +70390,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was created. - */ "project/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67881,6 +70420,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67890,20 +70431,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was deleted. - */ "project/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67924,6 +70461,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67933,20 +70472,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name or description of a classic project was changed. - */ "project/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67967,6 +70502,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67976,20 +70513,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was closed. - */ "project/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68010,6 +70543,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68019,22 +70554,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was closed. - */ "projects-v2/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68055,6 +70584,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68064,22 +70595,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was created. - */ "projects-v2/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68100,6 +70625,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68109,22 +70636,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was deleted. - */ "projects-v2/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68145,6 +70666,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68154,22 +70677,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The title, description, or README of a project in the organization was changed. - */ "projects-v2/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68190,6 +70707,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68199,22 +70718,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - */ "projects-v2-item/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68235,6 +70748,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68244,22 +70759,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A draft issue in an organization project was converted to an issue. - */ "projects-v2-item/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68280,6 +70789,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68289,22 +70800,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item was added to a project in the organization. - */ "projects-v2-item/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68325,6 +70830,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68334,22 +70841,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item was deleted from a project in the organization. - */ "projects-v2-item/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68370,6 +70871,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68379,22 +70882,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. - */ "projects-v2-item/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68415,6 +70912,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68424,22 +70923,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. - */ "projects-v2-item/reordered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68460,6 +70953,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68469,22 +70964,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - */ "projects-v2-item/restored": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68505,6 +70994,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68514,22 +71005,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was reopened. - */ "projects-v2/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68550,6 +71035,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68559,17 +71046,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.9/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ public: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68590,6 +71076,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68599,20 +71087,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was assigned to a user. - */ "pull-request/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68633,6 +71117,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68642,20 +71128,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68676,6 +71158,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68685,20 +71169,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68719,6 +71199,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68728,20 +71210,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. - */ "pull-request/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68762,6 +71240,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68771,20 +71251,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/converted-to-draft": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68805,6 +71281,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68814,20 +71292,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was removed from a milestone. - */ "pull-request/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68848,6 +71322,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68857,20 +71333,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The title or body of a pull request was edited. - */ "pull-request/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68891,6 +71363,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68900,20 +71374,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was added to a pull request. - */ "pull-request/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68934,6 +71404,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68943,20 +71415,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.9/communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68977,6 +71445,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68986,20 +71456,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was added to a milestone. - */ "pull-request/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69020,6 +71486,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69029,20 +71497,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was created - */ "pull-request/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69063,6 +71527,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69072,20 +71538,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/ready-for-review": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69106,6 +71568,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69115,20 +71579,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously closed pull request was reopened. - */ "pull-request/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69149,6 +71609,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69158,20 +71620,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was created. - */ "pull-request-review-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69192,6 +71650,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69201,20 +71661,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was deleted. - */ "pull-request-review-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69235,6 +71691,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69244,20 +71702,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The content of a comment on a pull request diff was changed. - */ "pull-request-review-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69278,6 +71732,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69287,20 +71743,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.9/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was dismissed. - */ "pull-request-review/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69321,6 +71773,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69330,20 +71784,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.9/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The body comment on a pull request review was edited. - */ "pull-request-review/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69364,6 +71814,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69373,20 +71825,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A request for review by a person or team was removed from a pull request. - */ "pull-request/review-request-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69407,6 +71855,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69416,20 +71866,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." - */ "pull-request/review-requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69450,6 +71896,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69459,20 +71907,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.9/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was submitted. - */ "pull-request-review/submitted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69493,6 +71937,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69502,20 +71948,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment thread on a pull request was marked as resolved. - */ "pull-request-review-thread/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69536,6 +71978,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69545,20 +71989,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously resolved comment thread on a pull request was marked as unresolved. - */ "pull-request-review-thread/unresolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69579,6 +72019,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69588,20 +72030,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. - */ "pull-request/synchronize": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69622,6 +72060,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69631,20 +72071,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A user was unassigned from a pull request. - */ "pull-request/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69665,6 +72101,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69674,20 +72112,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was removed from a pull request. - */ "pull-request/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69708,6 +72142,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69717,20 +72153,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.9/communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69751,6 +72183,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69760,21 +72194,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Note**: An event will not be created when more than three tags are pushed at once. - */ push: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69795,6 +72224,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69804,20 +72235,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.9/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * **Note**: GitHub recommends that you use the newer `package` event instead. - * @description A package was published to a registry. - */ "registry-package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69838,6 +72265,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69847,20 +72276,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.9/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * **Note**: GitHub recommends that you use the newer `package` event instead. - * @description A package that was previously published to a registry was updated. - */ "registry-package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69881,6 +72306,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69890,18 +72317,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. - */ "release/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69922,6 +72347,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69931,18 +72358,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft release was deleted. - */ "release/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69963,6 +72388,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69972,18 +72399,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." - */ "release/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70004,6 +72429,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70013,18 +72440,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. - */ "release/prereleased": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70045,6 +72470,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70054,18 +72481,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft of a release was published. - */ "release/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70086,6 +72511,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70095,18 +72522,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was published, or a pre-release was changed to a release. - */ "release/released": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70127,6 +72552,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70136,18 +72563,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release or pre-release was unpublished. - */ "release/unpublished": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70168,6 +72593,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70177,18 +72604,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." - */ "repository/anonymous-access-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70209,6 +72634,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70218,18 +72645,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." - */ "repository/anonymous-access-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70250,6 +72675,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70259,18 +72686,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was archived. - */ "repository/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70291,6 +72716,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70300,18 +72727,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was created. - */ "repository/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70332,6 +72757,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70341,18 +72768,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. - */ "repository/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70373,6 +72798,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70382,18 +72809,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.9/rest/repos/repos#create-a-repository-dispatch-event). - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - */ "repository-dispatch/sample.collected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70414,6 +72839,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70423,18 +72850,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The topics, default branch, description, or homepage of a repository was changed. - */ "repository/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70455,6 +72880,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70464,18 +72891,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `private`. - */ "repository/privatized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70496,6 +72921,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70505,18 +72932,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `public`. - */ "repository/publicized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70537,6 +72962,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70546,18 +72973,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The name of a repository was changed. - */ "repository/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70578,6 +73003,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70587,18 +73014,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. - */ "repository/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70619,6 +73044,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70628,18 +73055,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A previously archived repository was unarchived. - */ "repository/unarchived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70660,6 +73085,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70669,18 +73096,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was created. - */ "repository-vulnerability-alert/create": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70701,6 +73126,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70710,18 +73137,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was dismissed. - */ "repository-vulnerability-alert/dismiss": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70742,6 +73167,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70751,18 +73178,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A previously dismissed or resolved repository vulnerability alert was reopened. - */ "repository-vulnerability-alert/reopen": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70783,6 +73208,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70792,18 +73219,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was marked as resolved. - */ "repository-vulnerability-alert/resolve": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70824,6 +73249,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70833,20 +73260,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.9/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was created. - */ "secret-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70867,6 +73290,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70876,22 +73301,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. - * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.9/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. - */ "secret-scanning-alert-location/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70912,6 +73331,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70921,20 +73342,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.9/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A previously closed secret scanning alert was reopened. - */ "secret-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70955,6 +73372,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70964,20 +73383,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.9/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was closed. - */ "secret-scanning-alert/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70998,6 +73413,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71007,20 +73424,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.9/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was marked as revoked. - */ "secret-scanning-alert/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71041,6 +73454,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71050,18 +73465,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.9/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description A security advisory was published to the GitHub community. - */ "security-advisory/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71082,6 +73495,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71091,18 +73506,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.9/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. - */ "security-advisory/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71123,6 +73536,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71132,18 +73547,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.9/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.9/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description A previously published security advisory was withdrawn. - */ "security-advisory/withdrawn": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71164,6 +73577,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71173,17 +73588,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.9/code-security/getting-started/github-security-features)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ "security-and-analysis": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71204,6 +73618,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71213,20 +73629,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsorship was cancelled and the last billing cycle has ended. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71247,6 +73659,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71256,18 +73670,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. - */ "sponsorship/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71288,6 +73700,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71297,18 +73711,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. - */ "sponsorship/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71329,6 +73741,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71338,20 +73752,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/pending-cancellation": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71372,6 +73782,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71381,18 +73793,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. - */ "sponsorship/pending-tier-change": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71413,6 +73823,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71422,18 +73834,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.9/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. - */ "sponsorship/tier-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71454,6 +73864,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71463,18 +73875,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.9/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.9/rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone starred a repository. - */ "star/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71495,6 +73905,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71504,18 +73916,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.9/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.9/rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone unstarred the repository. - */ "star/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71536,6 +73946,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71545,17 +73957,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.9/rest/commits/statuses)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ status: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71576,6 +73987,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71585,20 +73998,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.9/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." - * - * For activity relating to teams, see the `teams` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ "team-add": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71619,6 +74028,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71628,19 +74039,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was granted access to a repository. - */ "team/added-to-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71661,6 +74069,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71670,19 +74080,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was created. - */ "team/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71703,6 +74110,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71712,19 +74121,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was deleted. - */ "team/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71745,6 +74151,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71754,19 +74162,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name, description, or visibility of a team was changed. - */ "team/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71787,6 +74192,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71796,19 +74203,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team's access to a repository was removed. - */ "team/removed-from-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71829,6 +74233,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71838,16 +74244,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to user accounts in an enterprise. - * @description A user account was added to the enterprise. - */ "user/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71868,6 +74274,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71877,16 +74285,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to user accounts in an enterprise. - * @description A user account was removed from the enterprise. - */ "user/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71907,6 +74315,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71916,18 +74326,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-server@3.9/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-server@3.9/rest/activity/watching)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone started watching the repository. - */ "watch/started": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71948,6 +74356,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71957,19 +74367,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.9/actions/managing-workflow-runs/manually-running-a-workflow)." - * - * For activity relating to workflow runs, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ "workflow-dispatch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71990,6 +74397,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71999,20 +74408,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.9/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. - */ "workflow-job/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72033,6 +74438,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72042,20 +74449,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.9/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run started processing on a runner. - */ "workflow-job/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72076,6 +74479,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72085,20 +74490,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.9/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run was created. - */ "workflow-job/queued": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72119,6 +74520,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72128,20 +74531,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.9/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run was created and is waiting for approvals. - */ "workflow-job/waiting": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72162,6 +74561,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72171,20 +74572,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.9/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. - */ "workflow-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72205,6 +74602,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72214,20 +74613,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.9/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run started processing on a runner. - */ "workflow-run/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72248,6 +74643,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72257,20 +74654,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.9/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run was triggered. - */ "workflow-run/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72291,6 +74684,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72300,7 +74695,10 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; diff --git a/packages/openapi-webhooks-types-github.ae/types.d.ts b/packages/openapi-webhooks-types-github.ae/types.d.ts index eab92a8..be63936 100644 --- a/packages/openapi-webhooks-types-github.ae/types.d.ts +++ b/packages/openapi-webhooks-types-github.ae/types.d.ts @@ -1,2196 +1,4795 @@ -/** - * This file was auto-generated by openapi-typescript. - * Do not make direct changes to the file. - */ - -/** OneOf type helpers */ -type Without = { [P in Exclude]?: never }; -type XOR = T | U extends object - ? (Without & U) | (Without & T) - : T | U; -type OneOf = T extends [infer Only] - ? Only - : T extends [infer A, infer B, ...infer Rest] - ? OneOf<[XOR, ...Rest]> - : never; - export type paths = Record; - export interface webhooks { "branch-protection-rule-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/github-ae@latest/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/github-ae@latest/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was created. */ post: operations["branch-protection-rule/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-rule-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/github-ae@latest/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/github-ae@latest/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was deleted. */ post: operations["branch-protection-rule/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-rule-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/github-ae@latest/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/github-ae@latest/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was edited. */ post: operations["branch-protection-rule/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/github-ae@latest/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run was completed, and a conclusion is available. */ post: operations["check-run/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/github-ae@latest/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A new check run was created. */ post: operations["check-run/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-requested-action": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/github-ae@latest/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/github-ae@latest/developers/apps/guides/creating-ci-tests-with-the-checks-api)." */ post: operations["check-run/requested-action"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/github-ae@latest/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. */ post: operations["check-run/rerequested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/github-ae@latest/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description All check runs in a check suite have completed, and a conclusion is available. */ post: operations["check-suite/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/github-ae@latest/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/github-ae@latest/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/github-ae@latest/rest/checks/runs#create-a-check-run)" in the REST API documentation. */ post: operations["check-suite/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/github-ae@latest/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/github-ae@latest/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/github-ae@latest/rest/checks/suites#create-a-check-suite)" in the REST API documentation. */ post: operations["check-suite/rerequested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-appeared-in-branch": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. */ post: operations["code-scanning-alert/appeared-in-branch"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-closed-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone closed a code scanning alert. */ post: operations["code-scanning-alert/closed-by-user"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was created in a repository. */ post: operations["code-scanning-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was fixed in a branch by a commit. */ post: operations["code-scanning-alert/fixed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously fixed code scanning alert reappeared in a branch. */ post: operations["code-scanning-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-reopened-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone reopened a code scanning alert. */ post: operations["code-scanning-alert/reopened-by-user"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "commit-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/github-ae@latest/rest/commits/comments)" in the REST API documentation. * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. + * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description Someone commented on a commit. */ post: operations["commit-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; create: { - /** - * This event occurs when a Git branch or tag is created. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a Git branch or tag is created. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ + * **Notes**: + * - This event will not occur when more than three tags are created at once. + * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. */ post: operations["create"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; delete: { - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including + * branch and tag deletions, use the [`push`](#push) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Note**: This event will not occur when more than three tags are deleted at once. - */ + * **Note**: This event will not occur when more than three tags are deleted at once. */ post: operations["delete"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-auto-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was automatically closed. */ post: operations["dependabot-alert/auto-dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-auto-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was automatically reopened. */ post: operations["dependabot-alert/auto-reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-reintroduced": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deploy-key-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/github-ae@latest/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/github-ae@latest/rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was created. */ post: operations["deploy-key/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deploy-key-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/github-ae@latest/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/github-ae@latest/rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was deleted. */ post: operations["deploy-key/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment status, use the `deployment_status` event. + * For activity relating to deployment status, use the `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment was created. */ post: operations["deployment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-protection-rule-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment protection rules. For more information, see "[Using environments for deployment](https://docs.github.com/github-ae@latest/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules)." For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/github-ae@latest/rest/deployments/environments). * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment protection rule was requested for an environment. */ post: operations["deployment-protection-rule/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-approved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was approved. */ post: operations["deployment-review/approved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-rejected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was rejected. */ post: operations["deployment-review/rejected"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was requested. */ post: operations["deployment-review/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-status-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation, use the `deployment` event. + * For activity relating to deployment creation, use the `deployment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A new deployment status was created. */ post: operations["deployment-status/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-answered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-category-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was created. */ post: operations["discussion/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was deleted. */ post: operations["discussion/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was locked. */ post: operations["discussion/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was pinned. */ post: operations["discussion/pinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unanswered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; fork: { - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/github-ae@latest/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/github-ae@latest/rest/repos/forks)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/github-ae@latest/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/github-ae@latest/rest/repos/forks)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["fork"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "github-app-authorization-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. + * A GitHub App receives this webhook by default and cannot unsubscribe from this event. * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/github-ae@latest/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." + * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/github-ae@latest/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." * @description Someone revoked their authorization of a GitHub App. */ post: operations["github-app-authorization/revoked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; gollum: { - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/github-ae@latest/communities/documenting-your-project-with-wikis/about-wikis)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/github-ae@latest/communities/documenting-your-project-with-wikis/about-wikis)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["gollum"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. * @description Someone installed a GitHub App on a user or organization account. */ post: operations["installation/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. * @description Someone uninstalled a GitHub App from their user or organization account. */ post: operations["installation/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-new-permissions-accepted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. * @description Someone granted new permissions to a GitHub App. */ post: operations["installation/new-permissions-accepted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-repositories-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. * @description A GitHub App installation was granted access to one or more repositories. */ post: operations["installation-repositories/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-repositories-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. * @description Access to one or more repositories was revoked for a GitHub App installation. */ post: operations["installation-repositories/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-suspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. * @description Someone blocked access by a GitHub App to their user or organization account. */ post: operations["installation/suspend"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-target-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. * @description Somebody renamed the user or organization account that a GitHub App is installed on. */ post: operations["installation-target/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-unsuspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. */ post: operations["installation/unsuspend"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/github-ae@latest/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/github-ae@latest/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/github-ae@latest/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was created. */ post: operations["issue-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/github-ae@latest/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/github-ae@latest/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/github-ae@latest/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was deleted. */ post: operations["issue-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/github-ae@latest/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/github-ae@latest/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/github-ae@latest/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was edited. */ post: operations["issue-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was assigned to a user. */ post: operations["issues/assigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was closed. */ post: operations["issues/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was deleted. */ post: operations["issues/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was removed from a milestone. */ post: operations["issues/demilestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description The title or body on an issue was edited. */ post: operations["issues/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was added to an issue. */ post: operations["issues/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/github-ae@latest/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was added to a milestone. */ post: operations["issues/milestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. */ post: operations["issues/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/pinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A closed issue was reopened. */ post: operations["issues/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." */ post: operations["issues/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A user was unassigned from an issue. */ post: operations["issues/unassigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was removed from an issue. */ post: operations["issues/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/github-ae@latest/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/unpinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#label) or "[Labels](https://docs.github.com/github-ae@latest/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was created. */ post: operations["label/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#label) or "[Labels](https://docs.github.com/github-ae@latest/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was deleted. */ post: operations["label/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#label) or "[Labels](https://docs.github.com/github-ae@latest/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label's name, description, or color was changed. */ post: operations["label/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/github-ae@latest/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/github-ae@latest/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A GitHub user accepted an invitation to a repository. */ post: operations["member/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/github-ae@latest/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/github-ae@latest/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description Permissions were changed for a collaborator on a repository. */ post: operations["member/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/github-ae@latest/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/github-ae@latest/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A collaborator was removed from a repository. */ post: operations["member/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "membership-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#team) or "[Team members](https://docs.github.com/github-ae@latest/rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was added to a team. */ post: operations["membership/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "membership-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#team) or "[Team members](https://docs.github.com/github-ae@latest/rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was removed from a team. */ post: operations["membership/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "meta-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a webhook itself. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. * @description The webhook was deleted. */ post: operations["meta/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/github-ae@latest/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was closed. */ post: operations["milestone/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/github-ae@latest/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was created. */ post: operations["milestone/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/github-ae@latest/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was deleted. */ post: operations["milestone/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/github-ae@latest/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was edited. */ post: operations["milestone/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/github-ae@latest/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was opened. */ post: operations["milestone/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/github-ae@latest/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/github-ae@latest/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization was deleted. */ post: operations["organization/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/github-ae@latest/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/github-ae@latest/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member accepted an invitation to join an organization. */ post: operations["organization/member-added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-invited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/github-ae@latest/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/github-ae@latest/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was invited to join the organization. */ post: operations["organization/member-invited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/github-ae@latest/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/github-ae@latest/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was removed from the organization. */ post: operations["organization/member-removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/github-ae@latest/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/github-ae@latest/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name of an organization was changed. */ post: operations["organization/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/github-ae@latest/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#package) or "[Packages](https://docs.github.com/github-ae@latest/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A package was published to a registry. */ post: operations["package/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/github-ae@latest/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#package) or "[Packages](https://docs.github.com/github-ae@latest/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A previously published package was updated. */ post: operations["package/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "page-build": { - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/github-ae@latest/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/github-ae@latest/rest/pages)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/github-ae@latest/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/github-ae@latest/rest/pages)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. */ post: operations["page-build"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; ping: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ post: operations["ping"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note in a classic project was converted to an issue. */ post: operations["project-card/converted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card was added to a classic project. */ post: operations["project-card/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a classic project was deleted. */ post: operations["project-card/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note on a classic project was edited. */ post: operations["project-card/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a classic project was moved to another column or to another position in its column. */ post: operations["project-card/moved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was closed. */ post: operations["project/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was added to a classic project. */ post: operations["project-column/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was deleted from a classic project. */ post: operations["project-column/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name of a column on a classic project was changed. */ post: operations["project-column/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was moved to a new position on a classic project. */ post: operations["project-column/moved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was created. */ post: operations["project/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was deleted. */ post: operations["project/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name or description of a classic project was changed. */ post: operations["project/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was closed. */ post: operations["project/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/github-ae@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was closed. */ post: operations["projects-v2/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/github-ae@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was created. */ post: operations["projects-v2/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/github-ae@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was deleted. */ post: operations["projects-v2/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/github-ae@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The title, description, or README of a project in the organization was changed. */ post: operations["projects-v2/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/github-ae@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was reopened. */ post: operations["projects-v2/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; public: { - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/github-ae@latest/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/github-ae@latest/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. */ post: operations["public"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was assigned to a user. */ post: operations["pull-request/assigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-auto-merge-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-auto-merge-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. */ post: operations["pull-request/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-converted-to-draft": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/converted-to-draft"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was removed from a milestone. */ post: operations["pull-request/demilestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The title or body of a pull request was edited. */ post: operations["pull-request/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was added to a pull request. */ post: operations["pull-request/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/github-ae@latest/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was added to a milestone. */ post: operations["pull-request/milestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was created */ post: operations["pull-request/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-ready-for-review": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/ready-for-review"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously closed pull request was reopened. */ post: operations["pull-request/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/github-ae@latest/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was created. */ post: operations["pull-request-review-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/github-ae@latest/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was deleted. */ post: operations["pull-request-review-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/github-ae@latest/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The content of a comment on a pull request diff was changed. */ post: operations["pull-request-review-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/github-ae@latest/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was dismissed. */ post: operations["pull-request-review/dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/github-ae@latest/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The body comment on a pull request review was edited. */ post: operations["pull-request-review/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-request-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A request for review by a person or team was removed from a pull request. */ post: operations["pull-request/review-request-removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." */ post: operations["pull-request/review-requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-submitted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/github-ae@latest/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was submitted. */ post: operations["pull-request-review/submitted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-thread-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/github-ae@latest/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment thread on a pull request was marked as resolved. */ post: operations["pull-request-review-thread/resolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-thread-unresolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/github-ae@latest/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously resolved comment thread on a pull request was marked as unresolved. */ post: operations["pull-request-review-thread/unresolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-synchronize": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. */ post: operations["pull-request/synchronize"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A user was unassigned from a pull request. */ post: operations["pull-request/unassigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was removed from a pull request. */ post: operations["pull-request/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/github-ae@latest/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; push: { - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, + * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch + * and tag deletions, use the [`delete`](#delete) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Note**: An event will not be created when more than three tags are pushed at once. - */ + * **Note**: An event will not be created when more than three tags are pushed at once. */ post: operations["push"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "registry-package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/github-ae@latest/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#package) or "[Packages](https://docs.github.com/github-ae@latest/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * **Note**: GitHub recommends that you use the newer `package` event instead. + * **Note**: GitHub recommends that you use the newer `package` event instead. * @description A package was published to a registry. */ post: operations["registry-package/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "registry-package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/github-ae@latest/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#package) or "[Packages](https://docs.github.com/github-ae@latest/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * **Note**: GitHub recommends that you use the newer `package` event instead. + * **Note**: GitHub recommends that you use the newer `package` event instead. * @description A package that was previously published to a registry was updated. */ post: operations["registry-package/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. */ post: operations["release/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft release was deleted. */ post: operations["release/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." */ post: operations["release/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-prereleased": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. */ post: operations["release/prereleased"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft of a release was published. */ post: operations["release/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-released": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was published, or a pre-release was changed to a release. */ post: operations["release/released"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-unpublished": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release or pre-release was unpublished. */ post: operations["release/unpublished"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-anonymous-access-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-anonymous-access-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was archived. */ post: operations["repository/archived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was created. */ post: operations["repository/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. */ post: operations["repository/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-dispatch-sample.collected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/github-ae@latest/rest/repos/repos#create-a-repository-dispatch-event). * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. */ post: operations["repository-dispatch/sample.collected"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The topics, default branch, description, or homepage of a repository was changed. */ post: operations["repository/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-privatized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `private`. */ post: operations["repository/privatized"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-publicized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `public`. */ post: operations["repository/publicized"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The name of a repository was changed. */ post: operations["repository/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. */ post: operations["repository/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-unarchived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A previously archived repository was unarchived. */ post: operations["repository/unarchived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/github-ae@latest/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/github-ae@latest/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was created. */ post: operations["secret-scanning-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-location-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/github-ae@latest/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/github-ae@latest/rest/secret-scanning)" in the REST API documentation. + * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/github-ae@latest/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/github-ae@latest/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. + * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. */ post: operations["secret-scanning-alert-location/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/github-ae@latest/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/github-ae@latest/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A previously closed secret scanning alert was reopened. */ post: operations["secret-scanning-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/github-ae@latest/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/github-ae@latest/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was closed. */ post: operations["secret-scanning-alert/resolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/github-ae@latest/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/github-ae@latest/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was marked as revoked. */ post: operations["secret-scanning-alert/revoked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-and-analysis": { - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/github-ae@latest/code-security/getting-started/github-security-features)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/github-ae@latest/code-security/getting-started/github-security-features)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. */ post: operations["security-and-analysis"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsorship was cancelled and the last billing cycle has ended. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/cancelled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. */ post: operations["sponsorship/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. */ post: operations["sponsorship/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-pending-cancellation": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/pending-cancellation"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-pending-tier-change": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. */ post: operations["sponsorship/pending-tier-change"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-tier-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. */ post: operations["sponsorship/tier-changed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "star-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/github-ae@latest/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/github-ae@latest/rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone starred a repository. */ post: operations["star/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "star-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/github-ae@latest/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/github-ae@latest/rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone unstarred the repository. */ post: operations["star/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; status: { - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/github-ae@latest/rest/commits/statuses)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/github-ae@latest/rest/commits/statuses)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. */ post: operations["status"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-add": { - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/github-ae@latest/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a team is added to a repository. + * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/github-ae@latest/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." * - * For activity relating to teams, see the `teams` event. + * For activity relating to teams, see the `teams` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. */ post: operations["team-add"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-added-to-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was granted access to a repository. */ post: operations["team/added-to-repository"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was created. */ post: operations["team/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was deleted. */ post: operations["team/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name, description, or visibility of a team was changed. */ post: operations["team/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-removed-from-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team's access to a repository was removed. */ post: operations["team/removed-from-repository"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "user-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was added to the enterprise. */ post: operations["user/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "user-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was removed from the enterprise. */ post: operations["user/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "watch-started": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/github-ae@latest/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/github-ae@latest/rest/activity/watching)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone started watching the repository. */ post: operations["watch/started"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-dispatch": { - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/github-ae@latest/actions/managing-workflow-runs/manually-running-a-workflow)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/github-ae@latest/actions/managing-workflow-runs/manually-running-a-workflow)." * - * For activity relating to workflow runs, use the `workflow_run` event. + * For activity relating to workflow runs, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["workflow-dispatch"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/github-ae@latest/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/github-ae@latest/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. */ post: operations["workflow-job/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/github-ae@latest/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/github-ae@latest/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run started processing on a runner. */ post: operations["workflow-job/in-progress"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-queued": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/github-ae@latest/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/github-ae@latest/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run was created. */ post: operations["workflow-job/queued"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/github-ae@latest/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/github-ae@latest/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. */ post: operations["workflow-run/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/github-ae@latest/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/github-ae@latest/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run started processing on a runner. */ post: operations["workflow-run/in-progress"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/github-ae@latest/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/github-ae@latest/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run was triggered. */ post: operations["workflow-run/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; } - export interface components { schemas: { /** branch protection rule created event */ @@ -2268,8 +4867,9 @@ export interface components { /** * Enterprise * @description An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured - * on an enterprise account or an organization that's part of an enterprise account. For more information, - * see "[About enterprise accounts](https://docs.github.com/github-ae@latest/admin/overview/about-enterprise-accounts)." + * on an enterprise account or an organization that's part of an enterprise account. For more information, + * see "[About enterprise accounts](https://docs.github.com/github-ae@latest/admin/overview/about-enterprise-accounts)." + * */ "enterprise-webhooks": { /** @description A short description of the enterprise. */ @@ -2298,8 +4898,8 @@ export interface components { /** * Simple Installation * @description The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured - * for and sent to a GitHub App. For more information, - * see "[Using webhooks with GitHub Apps](https://docs.github.com/github-ae@latest/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + * for and sent to a GitHub App. For more information, + * see "[Using webhooks with GitHub Apps](https://docs.github.com/github-ae@latest/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." */ "simple-installation": { /** @description The ID of the installation. */ @@ -2310,7 +4910,7 @@ export interface components { /** * Organization Simple * @description A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an - * organization, or when the event occurs from activity in a repository owned by an organization. + * organization, or when the event occurs from activity in a repository owned by an organization. */ "organization-simple-webhooks": { login: string; @@ -2332,7 +4932,7 @@ export interface components { /** * Repository * @description The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property - * when the event occurs from activity in a repository. + * when the event occurs from activity in a repository. */ "repository-webhooks": { /** @description Unique identifier of the repository */ @@ -2434,7 +5034,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template?: boolean; + is_template: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -2468,7 +5068,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility?: string; + visibility: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -2479,7 +5079,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; template_repository?: { id?: number; node_id?: string; @@ -2594,34 +5194,34 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch?: boolean; + allow_update_branch: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required?: boolean; + web_commit_signoff_required: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -2972,9 +5572,9 @@ export interface components { /** * @description The set of permissions for the GitHub app * @example { - * "issues": "read", - * "deployments": "write" - * } + * "issues": "read", + * "deployments": "write" + * } */ permissions: { issues?: string; @@ -2982,7 +5582,7 @@ export interface components { metadata?: string; contents?: string; deployments?: string; - [key: string]: string | undefined; + [key: string]: string; }; /** @description The list of events for the GitHub app */ events: string[]; @@ -5032,10 +7632,10 @@ export interface components { * @description The state of the Dependabot alert. * @enum {string} */ - state: "auto_dismissed" | "dismissed" | "fixed" | "open"; + readonly state: "auto_dismissed" | "dismissed" | "fixed" | "open"; /** @description Details for the vulnerable dependency. */ - dependency: { - readonly package?: components["schemas"]["dependabot-alert-package"]; + readonly dependency: { + package?: components["schemas"]["dependabot-alert-package"]; /** @description The full path to the dependency manifest file, relative to the root of the repository. */ readonly manifest_path?: string; /** @@ -5069,16 +7669,16 @@ export interface components { auto_dismissed_at?: components["schemas"]["alert-auto-dismissed-at"]; }; /** @description The security alert number. */ - readonly "alert-number": number; + "alert-number": number; /** @description Details for the vulnerable package. */ - readonly "dependabot-alert-package": { + "dependabot-alert-package": { /** @description The package's language or package management ecosystem. */ readonly ecosystem: string; /** @description The unique package name within its ecosystem. */ readonly name: string; }; /** @description Details for the GitHub Security Advisory. */ - readonly "dependabot-alert-security-advisory": { + "dependabot-alert-security-advisory": { /** @description The unique GitHub Security Advisory ID assigned to the advisory. */ readonly ghsa_id: string; /** @description The unique CVE ID assigned to the advisory. */ @@ -5088,7 +7688,7 @@ export interface components { /** @description A long-form Markdown-supported description of the advisory. */ readonly description: string; /** @description Vulnerable version range information for the advisory. */ - readonly vulnerabilities: readonly components["schemas"]["dependabot-alert-security-vulnerability"][]; + readonly vulnerabilities: components["schemas"]["dependabot-alert-security-vulnerability"][]; /** * @description The severity of the advisory. * @enum {string} @@ -5102,14 +7702,14 @@ export interface components { readonly vector_string: string | null; }; /** @description Details for the advisory pertaining to Common Weakness Enumeration. */ - readonly cwes: readonly { + readonly cwes: { /** @description The unique CWE ID. */ readonly cwe_id: string; /** @description The short, plain text name of the CWE. */ readonly name: string; }[]; /** @description Values that identify this advisory among security information sources. */ - readonly identifiers: readonly { + readonly identifiers: { /** * @description The type of advisory identifier. * @enum {string} @@ -5119,7 +7719,7 @@ export interface components { readonly value: string; }[]; /** @description Links to additional advisory information. */ - readonly references: readonly { + readonly references: { /** * Format: uri * @description The URL of the reference. @@ -5143,8 +7743,8 @@ export interface components { readonly withdrawn_at: string | null; }; /** @description Details pertaining to one vulnerable version range for the advisory. */ - readonly "dependabot-alert-security-vulnerability": { - readonly package: components["schemas"]["dependabot-alert-package"]; + "dependabot-alert-security-vulnerability": { + package: components["schemas"]["dependabot-alert-package"]; /** * @description The severity of the vulnerability. * @enum {string} @@ -5162,37 +7762,37 @@ export interface components { * Format: uri * @description The REST API URL of the alert resource. */ - readonly "alert-url": string; + "alert-url": string; /** * Format: uri * @description The GitHub URL of the alert resource. */ - readonly "alert-html-url": string; + "alert-html-url": string; /** * Format: date-time * @description The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-created-at": string; + "alert-created-at": string; /** * Format: date-time * @description The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-updated-at": string; + "alert-updated-at": string; /** * Format: date-time * @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-dismissed-at": string | null; + "alert-dismissed-at": string | null; /** * Format: date-time * @description The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-fixed-at": string | null; + "alert-fixed-at": string | null; /** * Format: date-time * @description The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-auto-dismissed-at": string | null; + "alert-auto-dismissed-at": string | null; /** Dependabot alert auto-reopened event */ "webhook-dependabot-alert-auto-reopened": { /** @enum {string} */ @@ -5911,14 +8511,11 @@ export interface components { ref: string; /** @description Parameter to specify a task to execute */ task: string; - payload: OneOf< - [ - { + payload: + | { [key: string]: unknown; - }, - string, - ] - >; + } + | string; original_environment?: string; /** @description Name for the target deployment environment. */ environment: string; @@ -7752,7 +10349,8 @@ export interface components { id: number; node_id: string; original_environment: string; - payload: string | Record | null; + payload: (null | Record) & + (string | Record); /** * App * @description GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. @@ -8706,8 +11304,8 @@ export interface components { repository_url: string; /** * @description The current state of the discussion. - * `converting` means that the discussion is being converted from an issue. - * `transferring` means that the discussion is being transferred from another repository. + * `converting` means that the discussion is being converted from an issue. + * `transferring` means that the discussion is being transferred from another repository. * @enum {string} */ state: "open" | "closed" | "locked" | "converting" | "transferring"; @@ -9509,24 +12107,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -9562,7 +12160,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -9701,7 +12299,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -9945,11 +12543,15 @@ export interface components { /** @description The ID of the installation. */ id: number; account: - | null | ( - | components["schemas"]["simple-user"] - | components["schemas"]["enterprise"] - ); + | null + | ( + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"] + ) + ) + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"]; /** * @description Describe whether all repositories have been selected or there's a selection involved * @enum {string} @@ -10012,11 +12614,11 @@ export interface components { * App Permissions * @description The permissions granted to the user access token. * @example { - * "contents": "read", - * "issues": "read", - * "deployments": "write", - * "single_file": "read" - * } + * "contents": "read", + * "issues": "read", + * "deployments": "write", + * "single_file": "read" + * } */ "app-permissions": { /** @@ -17448,24 +20050,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -17501,7 +20103,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -17642,7 +20244,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -19655,24 +22257,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -19708,7 +22310,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -19852,7 +22454,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -23960,19 +26562,16 @@ export interface components { | { id?: number | string; name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -25650,24 +28249,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -25703,7 +28302,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -25787,17 +28386,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -25864,7 +28463,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -25872,9 +28471,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -25884,8 +28483,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -25917,7 +28516,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -25993,24 +28592,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -26046,7 +28645,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -26130,17 +28729,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -26207,7 +28806,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -26215,9 +28814,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -26227,8 +28826,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -26260,7 +28859,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -26450,9 +29049,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -26487,8 +29085,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -26538,9 +29136,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -26862,24 +29459,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -26915,7 +29512,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -26999,17 +29596,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -27076,7 +29673,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -27084,9 +29681,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -27096,8 +29693,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -27129,7 +29726,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -27205,24 +29802,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -27258,7 +29855,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -27342,17 +29939,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -27419,7 +30016,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -27427,9 +30024,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -27439,8 +30036,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -27472,7 +30069,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -27662,9 +30259,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -27699,8 +30295,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -27750,9 +30346,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -28075,24 +30670,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -28128,7 +30723,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28212,17 +30807,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -28289,7 +30884,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -28297,9 +30892,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -28309,8 +30904,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28342,7 +30937,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -28418,24 +31013,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -28471,7 +31066,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28555,17 +31150,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -28632,7 +31227,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -28640,9 +31235,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -28652,8 +31247,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28685,7 +31280,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -28875,9 +31470,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -28912,8 +31506,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -28963,9 +31557,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -29091,41 +31684,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29133,7 +31726,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -29152,41 +31745,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29194,7 +31787,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -29411,24 +32004,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29464,7 +32057,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29548,17 +32141,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -29625,7 +32218,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -29633,9 +32226,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -29645,8 +32238,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29678,7 +32271,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -29754,24 +32347,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29807,7 +32400,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29891,17 +32484,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -29968,7 +32561,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -29976,9 +32569,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -29988,8 +32581,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30021,7 +32614,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30211,9 +32804,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -30248,8 +32840,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -30299,9 +32891,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -30445,41 +33036,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30487,7 +33078,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender?: components["schemas"]["simple-user-webhooks"]; @@ -30720,24 +33311,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30773,7 +33364,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30857,17 +33448,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -30934,7 +33525,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -30942,9 +33533,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -30954,8 +33545,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30987,7 +33578,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31063,24 +33654,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31116,7 +33707,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31200,17 +33791,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -31277,7 +33868,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -31285,9 +33876,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -31297,8 +33888,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31330,7 +33921,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31520,9 +34111,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -31557,8 +34147,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -31608,9 +34198,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -31933,24 +34522,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31986,7 +34575,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32070,17 +34659,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32147,7 +34736,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32155,9 +34744,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32167,8 +34756,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -32200,7 +34789,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32276,24 +34865,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32329,7 +34918,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32413,17 +35002,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32490,7 +35079,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32498,9 +35087,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32510,8 +35099,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -32543,7 +35132,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32733,9 +35322,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -32770,8 +35358,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -32821,9 +35409,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -33146,24 +35733,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33199,7 +35786,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33283,17 +35870,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -33360,7 +35947,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -33368,9 +35955,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -33380,8 +35967,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33413,7 +36000,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33489,24 +36076,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33542,7 +36129,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33626,17 +36213,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -33703,7 +36290,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -33711,9 +36298,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -33723,8 +36310,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33756,7 +36343,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33946,9 +36533,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -33983,8 +36569,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -34034,9 +36620,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -34161,41 +36746,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34203,7 +36788,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -34222,41 +36807,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34264,7 +36849,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -34283,41 +36868,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34325,7 +36910,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -34691,24 +37276,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34744,7 +37329,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34828,17 +37413,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -34905,7 +37490,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -34913,9 +37498,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -34925,8 +37510,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34958,7 +37543,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35027,24 +37612,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35080,7 +37665,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35129,7 +37714,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; homepage: string | null; /** Format: uri */ hooks_url: string; @@ -35164,17 +37749,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -35241,7 +37826,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -35249,9 +37834,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -35261,8 +37846,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -35294,7 +37879,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35439,9 +38024,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -35476,8 +38060,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -35527,9 +38111,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -35995,24 +38578,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36048,7 +38631,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36132,17 +38715,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -36209,7 +38792,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -36217,9 +38800,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -36229,8 +38812,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -36262,7 +38845,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36331,24 +38914,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36384,7 +38967,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36468,17 +39051,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -36545,7 +39128,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -36553,9 +39136,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -36565,8 +39148,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -36598,7 +39181,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36743,9 +39326,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -36780,8 +39362,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -36831,9 +39413,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -37306,24 +39887,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37359,7 +39940,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37443,17 +40024,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -37520,7 +40101,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -37528,9 +40109,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -37540,8 +40121,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37573,7 +40154,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37642,24 +40223,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37695,7 +40276,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37779,17 +40360,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -37856,7 +40437,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -37864,9 +40445,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -37876,8 +40457,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37909,7 +40490,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38054,9 +40635,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -38091,8 +40671,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -38142,9 +40722,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -38458,24 +41037,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38511,7 +41090,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38595,17 +41174,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -38672,7 +41251,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -38680,9 +41259,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -38692,8 +41271,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -38725,7 +41304,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38794,24 +41373,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38847,7 +41426,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38931,17 +41510,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -39008,7 +41587,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -39016,9 +41595,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -39028,8 +41607,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -39061,7 +41640,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39206,9 +41785,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -39243,8 +41821,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -39294,9 +41872,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -39697,24 +42274,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39750,7 +42327,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39889,7 +42466,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -39984,24 +42561,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40037,7 +42614,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40176,7 +42753,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -40347,9 +42924,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -40384,8 +42960,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -40435,9 +43011,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -40623,9 +43198,8 @@ export interface components { sender: components["schemas"]["simple-user-webhooks"]; }; /** pull_request review_request_removed event */ - "webhook-pull-request-review-request-removed": OneOf< - [ - { + "webhook-pull-request-review-request-removed": + | { /** @enum {string} */ action: "review_request_removed"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -40836,24 +43410,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40889,7 +43463,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40973,17 +43547,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41050,7 +43624,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41096,7 +43670,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41172,24 +43746,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41225,7 +43799,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41309,17 +43883,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41386,7 +43960,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41394,9 +43968,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -41406,8 +43980,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -41439,7 +44013,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41629,9 +44203,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -41666,8 +44239,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -41717,9 +44290,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -41866,8 +44438,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_request_removed"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -42078,24 +44650,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42131,7 +44703,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42215,17 +44787,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -42292,7 +44864,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42300,9 +44872,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -42312,8 +44884,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -42345,7 +44917,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42421,24 +44993,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42474,7 +45046,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42558,17 +45130,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -42635,7 +45207,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42643,9 +45215,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -42655,8 +45227,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -42688,7 +45260,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42878,9 +45450,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -42915,8 +45486,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -42966,9 +45537,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -43133,13 +45703,10 @@ export interface components { url: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request review_requested event */ - "webhook-pull-request-review-requested": OneOf< - [ - { + "webhook-pull-request-review-requested": + | { /** @enum {string} */ action: "review_requested"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -43350,24 +45917,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43403,7 +45970,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43487,17 +46054,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -43564,7 +46131,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -43572,9 +46139,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -43584,8 +46151,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -43617,7 +46184,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -43693,24 +46260,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43746,7 +46313,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43830,17 +46397,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -43907,7 +46474,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -43915,9 +46482,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -43927,8 +46494,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -43960,7 +46527,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44150,9 +46717,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -44187,8 +46753,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -44238,9 +46804,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -44387,8 +46952,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_requested"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -44599,24 +47164,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44652,7 +47217,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44736,17 +47301,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -44813,7 +47378,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -44821,9 +47386,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -44833,8 +47398,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -44866,7 +47431,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44942,24 +47507,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44995,7 +47560,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45079,17 +47644,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -45156,7 +47721,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -45164,9 +47729,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -45176,8 +47741,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -45209,7 +47774,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45399,9 +47964,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -45436,8 +48000,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -45487,9 +48051,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -45654,9 +48217,7 @@ export interface components { url?: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request_review submitted event */ "webhook-pull-request-review-submitted": { /** @enum {string} */ @@ -45866,24 +48427,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45919,7 +48480,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46003,17 +48564,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -46080,7 +48641,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -46088,9 +48649,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -46100,8 +48661,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -46133,7 +48694,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46202,24 +48763,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46255,7 +48816,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46339,17 +48900,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -46416,7 +48977,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -46424,9 +48985,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -46436,8 +48997,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -46469,7 +49030,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46614,9 +49175,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -46651,8 +49211,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -46702,9 +49262,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -47098,24 +49657,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47151,7 +49710,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47295,7 +49854,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -47392,24 +49951,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47445,7 +50004,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47589,7 +50148,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -47762,9 +50321,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -47799,8 +50357,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -47850,9 +50408,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -48318,24 +50875,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48371,7 +50928,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48515,7 +51072,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -48612,24 +51169,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48665,7 +51222,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48809,7 +51366,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -48982,9 +51539,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -49019,8 +51575,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -49070,9 +51626,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -49543,24 +52098,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49596,7 +52151,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49680,17 +52235,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -49757,7 +52312,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -49765,9 +52320,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -49777,8 +52332,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -49810,7 +52365,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -49886,24 +52441,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49939,7 +52494,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50093,7 +52648,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -50101,9 +52656,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -50113,8 +52668,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -50146,7 +52701,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -50336,9 +52891,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -50373,8 +52927,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -50424,9 +52978,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -50786,24 +53339,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50839,7 +53392,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50923,17 +53476,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -51000,7 +53553,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -51008,9 +53561,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -51020,8 +53573,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -51053,7 +53606,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -51129,24 +53682,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51182,7 +53735,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51266,17 +53819,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -51343,7 +53896,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -51351,9 +53904,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -51363,8 +53916,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -51396,7 +53949,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -51586,9 +54139,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -51623,8 +54175,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -51674,9 +54226,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -52015,24 +54566,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52068,7 +54619,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52152,17 +54703,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -52229,7 +54780,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -52237,9 +54788,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -52249,8 +54800,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -52282,7 +54833,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -52358,24 +54909,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52411,7 +54962,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52565,7 +55116,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -52573,9 +55124,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -52585,8 +55136,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -52618,7 +55169,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -52808,9 +55359,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -52845,8 +55395,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -52896,9 +55446,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -53221,24 +55770,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53274,7 +55823,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53358,17 +55907,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -53435,7 +55984,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53443,9 +55992,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -53455,8 +56004,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -53488,7 +56037,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53564,24 +56113,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53617,7 +56166,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53701,17 +56250,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -53778,7 +56327,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53786,9 +56335,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -53798,8 +56347,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -53831,7 +56380,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -54021,9 +56570,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -54058,8 +56606,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -54109,9 +56657,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -54366,24 +56913,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54419,7 +56966,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54563,7 +57110,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -54685,19 +57232,23 @@ export interface components { name?: string; version?: string; npm_user?: string; - author?: string | Record | null; - bugs?: string | Record | null; + author?: (null | Record) & + (string | Record); + bugs?: (null | Record) & + (string | Record); dependencies?: Record; dev_dependencies?: Record; peer_dependencies?: Record; optional_dependencies?: Record; description?: string; - dist?: string | Record | null; + dist?: (null | Record) & + (string | Record); git_head?: string; homepage?: string; license?: string; main?: string; - repository?: string | Record | null; + repository?: (null | Record) & + (string | Record); scripts?: Record; id?: string; node_version?: string; @@ -54710,7 +57261,8 @@ export interface components { files?: string[]; bin?: Record; man?: Record; - directories?: string | Record | null; + directories?: (null | Record) & + (string | Record); os?: string[]; cpu?: string[]; readme?: string; @@ -54722,21 +57274,19 @@ export interface components { } | null; nuget_metadata?: | { - id?: string | Record | number | null; + id?: (null | Record) & + (string | Record | number); name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -56660,7 +59210,7 @@ export interface components { * @description Whether anonymous git access is allowed. * @default true */ - anonymous_access_enabled?: boolean; + anonymous_access_enabled: boolean; code_of_conduct?: components["schemas"]["code-of-conduct-simple"]; security_and_analysis?: components["schemas"]["security-and-analysis"]; }; @@ -56768,7 +59318,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template?: boolean; + is_template: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -56803,7 +59353,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility?: string; + visibility: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -56814,7 +59364,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; template_repository?: { id?: number; node_id?: string; @@ -56929,34 +59479,34 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch?: boolean; + allow_update_branch: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required?: boolean; + web_commit_signoff_required: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -58074,24 +60624,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -58127,7 +60677,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -58266,7 +60816,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -58387,24 +60937,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -58440,7 +60990,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -58579,7 +61129,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -58700,24 +61250,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -58753,7 +61303,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -58892,7 +61442,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -59044,24 +61594,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59097,7 +61647,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59236,7 +61786,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -59357,24 +61907,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59410,7 +61960,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59549,7 +62099,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -61945,20 +64495,11 @@ export interface components { headers: never; pathItems: never; } - export type $defs = Record; - -export type external = Record; - export interface operations { - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/github-ae@latest/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/github-ae@latest/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was created. - */ "branch-protection-rule/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61975,6 +64516,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61984,18 +64527,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/github-ae@latest/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/github-ae@latest/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was deleted. - */ "branch-protection-rule/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62012,6 +64553,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62021,18 +64564,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/github-ae@latest/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/github-ae@latest/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was edited. - */ "branch-protection-rule/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62049,6 +64590,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62058,24 +64601,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/github-ae@latest/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run was completed, and a conclusion is available. - */ "check-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62092,6 +64627,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62101,24 +64638,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/github-ae@latest/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A new check run was created. - */ "check-run/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62135,6 +64664,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62144,24 +64675,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/github-ae@latest/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/github-ae@latest/developers/apps/guides/creating-ci-tests-with-the-checks-api)." - */ "check-run/requested-action": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62178,6 +64701,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62187,24 +64712,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/github-ae@latest/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. - */ "check-run/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62221,6 +64738,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62230,24 +64749,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/github-ae@latest/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description All check runs in a check suite have completed, and a conclusion is available. - */ "check-suite/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62264,6 +64775,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62273,24 +64786,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/github-ae@latest/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/github-ae@latest/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/github-ae@latest/rest/checks/runs#create-a-check-run)" in the REST API documentation. - */ "check-suite/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62307,6 +64812,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62316,24 +64823,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/github-ae@latest/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/github-ae@latest/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/github-ae@latest/rest/checks/suites#create-a-check-suite)" in the REST API documentation. - */ "check-suite/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62350,6 +64849,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62359,18 +64860,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. - */ "code-scanning-alert/appeared-in-branch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62387,6 +64886,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62396,18 +64897,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone closed a code scanning alert. - */ "code-scanning-alert/closed-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62424,6 +64923,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62433,18 +64934,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was created in a repository. - */ "code-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62461,6 +64960,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62470,18 +64971,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was fixed in a branch by a commit. - */ "code-scanning-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62498,6 +64997,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62507,18 +65008,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously fixed code scanning alert reappeared in a branch. - */ "code-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62535,6 +65034,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62544,18 +65045,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone reopened a code scanning alert. - */ "code-scanning-alert/reopened-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62572,6 +65071,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62581,20 +65082,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/github-ae@latest/rest/commits/comments)" in the REST API documentation. - * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description Someone commented on a commit. - */ "commit-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62611,6 +65108,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62620,21 +65119,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is created. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ create: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62651,6 +65145,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62660,20 +65156,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Note**: This event will not occur when more than three tags are deleted at once. - */ delete: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62690,6 +65182,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62699,22 +65193,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was automatically closed. - */ "dependabot-alert/auto-dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62731,6 +65219,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62740,22 +65230,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was automatically reopened. - */ "dependabot-alert/auto-reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62772,6 +65256,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62781,22 +65267,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. - */ "dependabot-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62813,6 +65293,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62822,22 +65304,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually closed. - */ "dependabot-alert/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62854,6 +65330,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62863,22 +65341,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change removed a vulnerability. - */ "dependabot-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62895,6 +65367,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62904,22 +65378,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. - */ "dependabot-alert/reintroduced": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62936,6 +65404,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62945,22 +65415,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/github-ae@latest/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/github-ae@latest/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually reopened. - */ "dependabot-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62977,6 +65441,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62986,18 +65452,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/github-ae@latest/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/github-ae@latest/rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was created. - */ "deploy-key/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63014,6 +65478,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63023,18 +65489,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/github-ae@latest/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/github-ae@latest/rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was deleted. - */ "deploy-key/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63051,6 +65515,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63060,20 +65526,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment status, use the `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment was created. - */ "deployment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63090,6 +65552,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63099,18 +65563,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment protection rules. For more information, see "[Using environments for deployment](https://docs.github.com/github-ae@latest/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules)." For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/github-ae@latest/rest/deployments/environments). - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment protection rule was requested for an environment. - */ "deployment-protection-rule/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63127,6 +65589,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63136,20 +65600,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was approved. - */ "deployment-review/approved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63166,6 +65626,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63175,20 +65637,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was rejected. - */ "deployment-review/rejected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63205,6 +65663,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63214,20 +65674,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was requested. - */ "deployment-review/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63244,6 +65700,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63253,20 +65711,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation, use the `deployment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A new deployment status was created. - */ "deployment-status/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63283,6 +65737,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63292,22 +65748,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was marked as the answer. - */ "discussion/answered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63324,6 +65774,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63333,22 +65785,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The category of a discussion was changed. - */ "discussion/category-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63365,6 +65811,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63374,22 +65822,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was created. - */ "discussion-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63406,6 +65848,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63415,22 +65859,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was deleted. - */ "discussion-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63447,6 +65885,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63456,22 +65896,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was edited. - */ "discussion-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63488,6 +65922,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63497,22 +65933,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was created. - */ "discussion/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63529,6 +65959,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63538,22 +65970,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was deleted. - */ "discussion/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63570,6 +65996,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63579,22 +66007,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The title or body on a discussion was edited, or the category of the discussion was changed. - */ "discussion/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63611,6 +66033,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63620,22 +66044,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was added to a discussion. - */ "discussion/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63652,6 +66070,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63661,22 +66081,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was locked. - */ "discussion/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63693,6 +66107,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63702,22 +66118,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was pinned. - */ "discussion/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63734,6 +66144,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63743,22 +66155,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was transferred to another repository. - */ "discussion/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63775,6 +66181,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63784,22 +66192,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was unmarked as the answer. - */ "discussion/unanswered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63816,6 +66218,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63825,22 +66229,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was removed from a discussion. - */ "discussion/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63857,6 +66255,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63866,22 +66266,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unlocked. - */ "discussion/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63898,6 +66292,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63907,22 +66303,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unpinned. - */ "discussion/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63939,6 +66329,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63948,17 +66340,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/github-ae@latest/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/github-ae@latest/rest/repos/forks)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ fork: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63975,6 +66366,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63984,20 +66377,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. - * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. - * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/github-ae@latest/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." - * @description Someone revoked their authorization of a GitHub App. - */ "github-app-authorization/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64014,6 +66403,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64023,17 +66414,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/github-ae@latest/communities/documenting-your-project-with-wikis/about-wikis)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ gollum: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64050,6 +66440,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64059,18 +66451,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. - * @description Someone installed a GitHub App on a user or organization account. - */ "installation/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64087,6 +66477,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64096,18 +66488,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. - * @description Someone uninstalled a GitHub App from their user or organization account. - */ "installation/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64124,6 +66514,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64133,18 +66525,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. - * @description Someone granted new permissions to a GitHub App. - */ "installation/new-permissions-accepted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64161,6 +66551,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64170,18 +66562,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. - * @description A GitHub App installation was granted access to one or more repositories. - */ "installation-repositories/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64198,6 +66588,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64207,18 +66599,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. - * @description Access to one or more repositories was revoked for a GitHub App installation. - */ "installation-repositories/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64235,6 +66625,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64244,18 +66636,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. - * @description Someone blocked access by a GitHub App to their user or organization account. - */ "installation/suspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64272,6 +66662,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64281,16 +66673,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. - * @description Somebody renamed the user or organization account that a GitHub App is installed on. - */ "installation-target/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64307,6 +66699,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64316,18 +66710,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. - * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. - */ "installation/unsuspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64344,6 +66736,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64353,20 +66747,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/github-ae@latest/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/github-ae@latest/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was created. - */ "issue-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64383,6 +66773,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64392,20 +66784,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/github-ae@latest/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/github-ae@latest/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was deleted. - */ "issue-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64422,6 +66810,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64431,20 +66821,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/github-ae@latest/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/github-ae@latest/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was edited. - */ "issue-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64461,6 +66847,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64470,20 +66858,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was assigned to a user. - */ "issues/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64500,6 +66884,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64509,20 +66895,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was closed. - */ "issues/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64539,6 +66921,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64548,20 +66932,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was deleted. - */ "issues/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64578,6 +66958,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64587,20 +66969,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was removed from a milestone. - */ "issues/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64617,6 +66995,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64626,20 +67006,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description The title or body on an issue was edited. - */ "issues/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64656,6 +67032,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64665,20 +67043,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was added to an issue. - */ "issues/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64695,6 +67069,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64704,20 +67080,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/github-ae@latest/communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64734,6 +67106,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64743,20 +67117,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was added to a milestone. - */ "issues/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64773,6 +67143,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64782,20 +67154,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. - */ "issues/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64812,6 +67180,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64821,20 +67191,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64851,6 +67217,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64860,20 +67228,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A closed issue was reopened. - */ "issues/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64890,6 +67254,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64899,20 +67265,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." - */ "issues/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64929,6 +67291,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64938,20 +67302,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A user was unassigned from an issue. - */ "issues/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64968,6 +67328,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64977,20 +67339,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was removed from an issue. - */ "issues/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65007,6 +67365,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65016,20 +67376,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/github-ae@latest/communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65046,6 +67402,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65055,20 +67413,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65085,6 +67439,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65094,20 +67450,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#label) or "[Labels](https://docs.github.com/github-ae@latest/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was created. - */ "label/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65124,6 +67476,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65133,20 +67487,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#label) or "[Labels](https://docs.github.com/github-ae@latest/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was deleted. - */ "label/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65163,6 +67513,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65172,20 +67524,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#label) or "[Labels](https://docs.github.com/github-ae@latest/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label's name, description, or color was changed. - */ "label/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65202,6 +67550,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65211,18 +67561,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/github-ae@latest/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/github-ae@latest/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A GitHub user accepted an invitation to a repository. - */ "member/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65239,6 +67587,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65248,18 +67598,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/github-ae@latest/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/github-ae@latest/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description Permissions were changed for a collaborator on a repository. - */ "member/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65276,6 +67624,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65285,18 +67635,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/github-ae@latest/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/github-ae@latest/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A collaborator was removed from a repository. - */ "member/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65313,6 +67661,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65322,18 +67672,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#team) or "[Team members](https://docs.github.com/github-ae@latest/rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was added to a team. - */ "membership/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65350,6 +67698,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65359,18 +67709,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#team) or "[Team members](https://docs.github.com/github-ae@latest/rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was removed from a team. - */ "membership/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65387,6 +67735,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65396,18 +67746,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a webhook itself. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. - * @description The webhook was deleted. - */ "meta/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65424,6 +67772,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65433,20 +67783,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/github-ae@latest/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was closed. - */ "milestone/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65463,6 +67809,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65472,20 +67820,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/github-ae@latest/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was created. - */ "milestone/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65502,6 +67846,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65511,20 +67857,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/github-ae@latest/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was deleted. - */ "milestone/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65541,6 +67883,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65550,20 +67894,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/github-ae@latest/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was edited. - */ "milestone/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65580,6 +67920,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65589,20 +67931,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/github-ae@latest/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was opened. - */ "milestone/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65619,6 +67957,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65628,20 +67968,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/github-ae@latest/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/github-ae@latest/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization was deleted. - */ "organization/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65658,6 +67994,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65667,20 +68005,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/github-ae@latest/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/github-ae@latest/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member accepted an invitation to join an organization. - */ "organization/member-added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65697,6 +68031,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65706,20 +68042,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/github-ae@latest/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/github-ae@latest/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was invited to join the organization. - */ "organization/member-invited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65736,6 +68068,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65745,20 +68079,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/github-ae@latest/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/github-ae@latest/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was removed from the organization. - */ "organization/member-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65775,6 +68105,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65784,20 +68116,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/github-ae@latest/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/github-ae@latest/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name of an organization was changed. - */ "organization/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65814,6 +68142,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65823,18 +68153,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/github-ae@latest/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#package) or "[Packages](https://docs.github.com/github-ae@latest/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A package was published to a registry. - */ "package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65851,6 +68179,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65860,18 +68190,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/github-ae@latest/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#package) or "[Packages](https://docs.github.com/github-ae@latest/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A previously published package was updated. - */ "package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65888,6 +68216,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65897,17 +68227,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/github-ae@latest/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/github-ae@latest/rest/pages)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ "page-build": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65924,6 +68253,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65933,13 +68264,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ ping: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65956,6 +68290,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65965,20 +68301,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note in a classic project was converted to an issue. - */ "project-card/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65995,6 +68327,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66004,20 +68338,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card was added to a classic project. - */ "project-card/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66034,6 +68364,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66043,20 +68375,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a classic project was deleted. - */ "project-card/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66073,6 +68401,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66082,20 +68412,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note on a classic project was edited. - */ "project-card/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66112,6 +68438,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66121,20 +68449,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a classic project was moved to another column or to another position in its column. - */ "project-card/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66151,6 +68475,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66160,20 +68486,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was closed. - */ "project/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66190,6 +68512,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66199,20 +68523,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was added to a classic project. - */ "project-column/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66229,6 +68549,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66238,20 +68560,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was deleted from a classic project. - */ "project-column/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66268,6 +68586,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66277,20 +68597,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name of a column on a classic project was changed. - */ "project-column/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66307,6 +68623,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66316,20 +68634,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was moved to a new position on a classic project. - */ "project-column/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66346,6 +68660,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66355,20 +68671,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was created. - */ "project/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66385,6 +68697,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66394,20 +68708,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was deleted. - */ "project/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66424,6 +68734,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66433,20 +68745,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name or description of a classic project was changed. - */ "project/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66463,6 +68771,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66472,20 +68782,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was closed. - */ "project/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66502,6 +68808,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66511,22 +68819,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/github-ae@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was closed. - */ "projects-v2/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66543,6 +68845,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66552,22 +68856,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/github-ae@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was created. - */ "projects-v2/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66584,6 +68882,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66593,22 +68893,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/github-ae@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was deleted. - */ "projects-v2/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66625,6 +68919,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66634,22 +68930,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/github-ae@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The title, description, or README of a project in the organization was changed. - */ "projects-v2/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66666,6 +68956,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66675,22 +68967,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/github-ae@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was reopened. - */ "projects-v2/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66707,6 +68993,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66716,17 +69004,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/github-ae@latest/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ public: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66743,6 +69030,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66752,20 +69041,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was assigned to a user. - */ "pull-request/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66782,6 +69067,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66791,20 +69078,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66821,6 +69104,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66830,20 +69115,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66860,6 +69141,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66869,20 +69152,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. - */ "pull-request/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66899,6 +69178,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66908,20 +69189,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/converted-to-draft": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66938,6 +69215,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66947,20 +69226,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was removed from a milestone. - */ "pull-request/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66977,6 +69252,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66986,20 +69263,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The title or body of a pull request was edited. - */ "pull-request/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67016,6 +69289,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67025,20 +69300,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was added to a pull request. - */ "pull-request/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67055,6 +69326,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67064,20 +69337,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/github-ae@latest/communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67094,6 +69363,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67103,20 +69374,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was added to a milestone. - */ "pull-request/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67133,6 +69400,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67142,20 +69411,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was created - */ "pull-request/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67172,6 +69437,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67181,20 +69448,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/ready-for-review": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67211,6 +69474,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67220,20 +69485,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously closed pull request was reopened. - */ "pull-request/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67250,6 +69511,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67259,20 +69522,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/github-ae@latest/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was created. - */ "pull-request-review-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67289,6 +69548,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67298,20 +69559,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/github-ae@latest/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was deleted. - */ "pull-request-review-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67328,6 +69585,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67337,20 +69596,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/github-ae@latest/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The content of a comment on a pull request diff was changed. - */ "pull-request-review-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67367,6 +69622,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67376,20 +69633,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/github-ae@latest/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was dismissed. - */ "pull-request-review/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67406,6 +69659,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67415,20 +69670,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/github-ae@latest/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The body comment on a pull request review was edited. - */ "pull-request-review/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67445,6 +69696,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67454,20 +69707,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A request for review by a person or team was removed from a pull request. - */ "pull-request/review-request-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67484,6 +69733,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67493,20 +69744,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." - */ "pull-request/review-requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67523,6 +69770,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67532,20 +69781,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/github-ae@latest/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was submitted. - */ "pull-request-review/submitted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67562,6 +69807,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67571,20 +69818,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/github-ae@latest/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment thread on a pull request was marked as resolved. - */ "pull-request-review-thread/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67601,6 +69844,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67610,20 +69855,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/github-ae@latest/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously resolved comment thread on a pull request was marked as unresolved. - */ "pull-request-review-thread/unresolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67640,6 +69881,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67649,20 +69892,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. - */ "pull-request/synchronize": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67679,6 +69918,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67688,20 +69929,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A user was unassigned from a pull request. - */ "pull-request/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67718,6 +69955,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67727,20 +69966,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was removed from a pull request. - */ "pull-request/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67757,6 +69992,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67766,20 +70003,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/github-ae@latest/communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67796,6 +70029,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67805,21 +70040,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Note**: An event will not be created when more than three tags are pushed at once. - */ push: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67836,6 +70066,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67845,20 +70077,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/github-ae@latest/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#package) or "[Packages](https://docs.github.com/github-ae@latest/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * **Note**: GitHub recommends that you use the newer `package` event instead. - * @description A package was published to a registry. - */ "registry-package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67875,6 +70103,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67884,20 +70114,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/github-ae@latest/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#package) or "[Packages](https://docs.github.com/github-ae@latest/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * **Note**: GitHub recommends that you use the newer `package` event instead. - * @description A package that was previously published to a registry was updated. - */ "registry-package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67914,6 +70140,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67923,18 +70151,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. - */ "release/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67951,6 +70177,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67960,18 +70188,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft release was deleted. - */ "release/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67988,6 +70214,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67997,18 +70225,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." - */ "release/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68025,6 +70251,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68034,18 +70262,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. - */ "release/prereleased": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68062,6 +70288,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68071,18 +70299,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft of a release was published. - */ "release/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68099,6 +70325,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68108,18 +70336,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was published, or a pre-release was changed to a release. - */ "release/released": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68136,6 +70362,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68145,18 +70373,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release or pre-release was unpublished. - */ "release/unpublished": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68173,6 +70399,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68182,18 +70410,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." - */ "repository/anonymous-access-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68210,6 +70436,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68219,18 +70447,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." - */ "repository/anonymous-access-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68247,6 +70473,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68256,18 +70484,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was archived. - */ "repository/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68284,6 +70510,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68293,18 +70521,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was created. - */ "repository/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68321,6 +70547,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68330,18 +70558,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. - */ "repository/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68358,6 +70584,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68367,18 +70595,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/github-ae@latest/rest/repos/repos#create-a-repository-dispatch-event). - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - */ "repository-dispatch/sample.collected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68395,6 +70621,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68404,18 +70632,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The topics, default branch, description, or homepage of a repository was changed. - */ "repository/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68432,6 +70658,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68441,18 +70669,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `private`. - */ "repository/privatized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68469,6 +70695,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68478,18 +70706,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `public`. - */ "repository/publicized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68506,6 +70732,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68515,18 +70743,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The name of a repository was changed. - */ "repository/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68543,6 +70769,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68552,18 +70780,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. - */ "repository/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68580,6 +70806,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68589,18 +70817,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A previously archived repository was unarchived. - */ "repository/unarchived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68617,6 +70843,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68626,20 +70854,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/github-ae@latest/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/github-ae@latest/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was created. - */ "secret-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68656,6 +70880,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68665,22 +70891,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. - * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/github-ae@latest/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/github-ae@latest/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. - */ "secret-scanning-alert-location/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68697,6 +70917,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68706,20 +70928,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/github-ae@latest/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/github-ae@latest/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A previously closed secret scanning alert was reopened. - */ "secret-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68736,6 +70954,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68745,20 +70965,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/github-ae@latest/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/github-ae@latest/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was closed. - */ "secret-scanning-alert/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68775,6 +70991,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68784,20 +71002,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/github-ae@latest/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/github-ae@latest/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was marked as revoked. - */ "secret-scanning-alert/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68814,6 +71028,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68823,17 +71039,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/github-ae@latest/code-security/getting-started/github-security-features)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ "security-and-analysis": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68850,6 +71065,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68859,20 +71076,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsorship was cancelled and the last billing cycle has ended. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68889,6 +71102,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68898,18 +71113,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. - */ "sponsorship/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68926,6 +71139,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68935,18 +71150,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. - */ "sponsorship/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68963,6 +71176,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68972,20 +71187,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/pending-cancellation": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69002,6 +71213,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69011,18 +71224,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. - */ "sponsorship/pending-tier-change": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69039,6 +71250,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69048,18 +71261,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/github-ae@latest/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. - */ "sponsorship/tier-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69076,6 +71287,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69085,18 +71298,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/github-ae@latest/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/github-ae@latest/rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone starred a repository. - */ "star/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69113,6 +71324,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69122,18 +71335,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/github-ae@latest/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/github-ae@latest/rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone unstarred the repository. - */ "star/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69150,6 +71361,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69159,17 +71372,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/github-ae@latest/rest/commits/statuses)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ status: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69186,6 +71398,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69195,20 +71409,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/github-ae@latest/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." - * - * For activity relating to teams, see the `teams` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ "team-add": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69225,6 +71435,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69234,19 +71446,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was granted access to a repository. - */ "team/added-to-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69263,6 +71472,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69272,19 +71483,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was created. - */ "team/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69301,6 +71509,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69310,19 +71520,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was deleted. - */ "team/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69339,6 +71546,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69348,19 +71557,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name, description, or visibility of a team was changed. - */ "team/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69377,6 +71583,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69386,19 +71594,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team's access to a repository was removed. - */ "team/removed-from-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69415,6 +71620,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69424,16 +71631,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to user accounts in an enterprise. - * @description A user account was added to the enterprise. - */ "user/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69450,6 +71657,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69459,16 +71668,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to user accounts in an enterprise. - * @description A user account was removed from the enterprise. - */ "user/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69485,6 +71694,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69494,18 +71705,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/github-ae@latest/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/github-ae@latest/rest/activity/watching)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone started watching the repository. - */ "watch/started": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69522,6 +71731,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69531,19 +71742,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/github-ae@latest/actions/managing-workflow-runs/manually-running-a-workflow)." - * - * For activity relating to workflow runs, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ "workflow-dispatch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69560,6 +71768,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69569,20 +71779,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/github-ae@latest/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/github-ae@latest/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. - */ "workflow-job/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69599,6 +71805,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69608,20 +71816,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/github-ae@latest/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/github-ae@latest/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run started processing on a runner. - */ "workflow-job/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69638,6 +71842,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69647,20 +71853,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/github-ae@latest/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/github-ae@latest/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run was created. - */ "workflow-job/queued": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69677,6 +71879,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69686,20 +71890,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/github-ae@latest/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/github-ae@latest/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. - */ "workflow-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69716,6 +71916,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69725,20 +71927,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/github-ae@latest/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/github-ae@latest/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run started processing on a runner. - */ "workflow-run/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69755,6 +71953,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69764,20 +71964,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/github-ae@latest/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/github-ae@latest/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run was triggered. - */ "workflow-run/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69794,6 +71990,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69803,7 +72001,10 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; diff --git a/packages/openapi-webhooks-types/types.d.ts b/packages/openapi-webhooks-types/types.d.ts index 0095a23..3f20326 100644 --- a/packages/openapi-webhooks-types/types.d.ts +++ b/packages/openapi-webhooks-types/types.d.ts @@ -1,2577 +1,5644 @@ -/** - * This file was auto-generated by openapi-typescript. - * Do not make direct changes to the file. - */ - -/** OneOf type helpers */ -type Without = { [P in Exclude]?: never }; -type XOR = T | U extends object - ? (Without & U) | (Without & T) - : T | U; -type OneOf = T extends [infer Only] - ? Only - : T extends [infer A, infer B, ...infer Rest] - ? OneOf<[XOR, ...Rest]> - : never; - export type paths = Record; - export interface webhooks { "branch-protection-configuration-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is a change to branch protection configurations for a repository. - * For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." - * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/rest/branches/branch-protection)" in the REST API documentation. + * For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." + * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description All branch protections were disabled for a repository. */ post: operations["branch-protection-configuration/disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-configuration-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is a change to branch protection configurations for a repository. - * For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." - * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/rest/branches/branch-protection)" in the REST API documentation. + * For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." + * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description All branch protections were enabled for a repository. */ post: operations["branch-protection-configuration/enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-rule-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was created. */ post: operations["branch-protection-rule/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-rule-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was deleted. */ post: operations["branch-protection-rule/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "branch-protection-rule-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was edited. */ post: operations["branch-protection-rule/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run was completed, and a conclusion is available. */ post: operations["check-run/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A new check run was created. */ post: operations["check-run/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-requested-action": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/developers/apps/guides/creating-ci-tests-with-the-checks-api)." */ post: operations["check-run/requested-action"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-run-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. */ post: operations["check-run/rerequested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description All check runs in a check suite have completed, and a conclusion is available. */ post: operations["check-suite/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/rest/checks/runs#create-a-check-run)" in the REST API documentation. */ post: operations["check-suite/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "check-suite-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/rest/checks/suites#create-a-check-suite)" in the REST API documentation. */ post: operations["check-suite/rerequested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-appeared-in-branch": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. */ post: operations["code-scanning-alert/appeared-in-branch"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-closed-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone closed a code scanning alert. */ post: operations["code-scanning-alert/closed-by-user"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was created in a repository. */ post: operations["code-scanning-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was fixed in a branch by a commit. */ post: operations["code-scanning-alert/fixed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously fixed code scanning alert reappeared in a branch. */ post: operations["code-scanning-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "code-scanning-alert-reopened-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone reopened a code scanning alert. */ post: operations["code-scanning-alert/reopened-by-user"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "commit-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/rest/commits/comments)" in the REST API documentation. * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. + * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description Someone commented on a commit. */ post: operations["commit-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; create: { - /** - * This event occurs when a Git branch or tag is created. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a Git branch or tag is created. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ + * **Notes**: + * - This event will not occur when more than three tags are created at once. + * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. */ post: operations["create"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; delete: { - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including + * branch and tag deletions, use the [`push`](#push) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Note**: This event will not occur when more than three tags are deleted at once. - */ + * **Note**: This event will not occur when more than three tags are deleted at once. */ post: operations["delete"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-auto-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was automatically closed. */ post: operations["dependabot-alert/auto-dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-auto-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was automatically reopened. */ post: operations["dependabot-alert/auto-reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-reintroduced": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "dependabot-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deploy-key-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was created. */ post: operations["deploy-key/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deploy-key-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was deleted. */ post: operations["deploy-key/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment status, use the `deployment_status` event. + * For activity relating to deployment status, use the `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment was created. */ post: operations["deployment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-protection-rule-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment protection rules. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules)." For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/rest/deployments/environments). * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment protection rule was requested for an environment. */ post: operations["deployment-protection-rule/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-approved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was approved. */ post: operations["deployment-review/approved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-rejected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was rejected. */ post: operations["deployment-review/rejected"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was requested. */ post: operations["deployment-review/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "deployment-status-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation, use the `deployment` event. + * For activity relating to deployment creation, use the `deployment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A new deployment status was created. */ post: operations["deployment-status/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-answered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-category-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was closed. */ post: operations["discussion/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was created. */ post: operations["discussion/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was deleted. */ post: operations["discussion/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was locked. */ post: operations["discussion/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was pinned. */ post: operations["discussion/pinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was reopened. */ post: operations["discussion/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unanswered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "discussion-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; fork: { - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/rest/repos/forks)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/rest/repos/forks)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["fork"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "github-app-authorization-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. + * A GitHub App receives this webhook by default and cannot unsubscribe from this event. * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." + * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." * @description Someone revoked their authorization of a GitHub App. */ post: operations["github-app-authorization/revoked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; gollum: { - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/communities/documenting-your-project-with-wikis/about-wikis)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/communities/documenting-your-project-with-wikis/about-wikis)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["gollum"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. * @description Someone installed a GitHub App on a user or organization account. */ post: operations["installation/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. * @description Someone uninstalled a GitHub App from their user or organization account. */ post: operations["installation/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-new-permissions-accepted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. * @description Someone granted new permissions to a GitHub App. */ post: operations["installation/new-permissions-accepted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-repositories-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. * @description A GitHub App installation was granted access to one or more repositories. */ post: operations["installation-repositories/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-repositories-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. * @description Access to one or more repositories was revoked for a GitHub App installation. */ post: operations["installation-repositories/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-suspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. * @description Someone blocked access by a GitHub App to their user or organization account. */ post: operations["installation/suspend"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-target-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. * @description Somebody renamed the user or organization account that a GitHub App is installed on. */ post: operations["installation-target/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "installation-unsuspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. */ post: operations["installation/unsuspend"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was created. */ post: operations["issue-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was deleted. */ post: operations["issue-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issue-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was edited. */ post: operations["issue-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was assigned to a user. */ post: operations["issues/assigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was closed. */ post: operations["issues/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was deleted. */ post: operations["issues/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was removed from a milestone. */ post: operations["issues/demilestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description The title or body on an issue was edited. */ post: operations["issues/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was added to an issue. */ post: operations["issues/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was added to a milestone. */ post: operations["issues/milestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. */ post: operations["issues/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/pinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A closed issue was reopened. */ post: operations["issues/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." */ post: operations["issues/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A user was unassigned from an issue. */ post: operations["issues/unassigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was removed from an issue. */ post: operations["issues/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "issues-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/unpinned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or "[Labels](https://docs.github.com/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was created. */ post: operations["label/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or "[Labels](https://docs.github.com/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was deleted. */ post: operations["label/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "label-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or "[Labels](https://docs.github.com/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label's name, description, or color was changed. */ post: operations["label/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "marketplace-purchase-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in the REST API documentation. * @description Someone cancelled a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately. */ post: operations["marketplace-purchase/cancelled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "marketplace-purchase-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in the REST API documentation. * @description Someone upgraded or downgraded a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately. */ post: operations["marketplace-purchase/changed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "marketplace-purchase-pending-change": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in the REST API documentation. * @description Someone downgraded or cancelled a GitHub Marketplace plan. The new plan or cancellation will take effect at the end of the current billing cycle. When the change takes effect, the `changed` or `cancelled` event will be sent. */ post: operations["marketplace-purchase/pending-change"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "marketplace-purchase-pending-change-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in the REST API documentation. * @description Someone cancelled a pending change to a GitHub Marketplace plan. Pending changes include plan cancellations and downgrades that will take effect at the end of a billing cycle. */ post: operations["marketplace-purchase/pending-change-cancelled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "marketplace-purchase-purchased": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in the REST API documentation. * @description Someone purchased a GitHub Marketplace plan. The change will take effect on the account immediately. */ post: operations["marketplace-purchase/purchased"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A GitHub user accepted an invitation to a repository. */ post: operations["member/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description Permissions were changed for a collaborator on a repository. */ post: operations["member/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A collaborator was removed from a repository. */ post: operations["member/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "membership-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#team) or "[Team members](https://docs.github.com/rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was added to a team. */ post: operations["membership/added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "membership-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#team) or "[Team members](https://docs.github.com/rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was removed from a team. */ post: operations["membership/removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "merge-group-checks-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a merge group in a merge queue. For more information, see "[Managing a merge queue](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Merge queues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Merge queues" repository permission. * @description Status checks were requested for a merge group. This happens when a merge group is created or added to by the merge queue because a pull request was queued. * - * When you receive this event, you should perform checks on the head SHA and report status back using check runs or commit statuses. + * When you receive this event, you should perform checks on the head SHA and report status back using check runs or commit statuses. */ post: operations["merge-group/checks-requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "merge-group-destroyed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a merge group in a merge queue. For more information, see "[Managing a merge queue](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Merge queues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Merge queues" repository permission. * @description The merge queue groups pull requests together to be merged. This event indicates that one of those merge groups was destroyed. This happens when a pull request is removed from the queue: any group containing that pull request is also destroyed. * - * When you receive this event, you may want to cancel any checks that are running on the head SHA to avoid wasting computing resources on a merge group that will not be used. + * When you receive this event, you may want to cancel any checks that are running on the head SHA to avoid wasting computing resources on a merge group that will not be used. */ post: operations["merge-group/destroyed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "meta-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a webhook itself. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. * @description The webhook was deleted. */ post: operations["meta/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was closed. */ post: operations["milestone/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was created. */ post: operations["milestone/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was deleted. */ post: operations["milestone/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was edited. */ post: operations["milestone/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "milestone-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was opened. */ post: operations["milestone/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "org-block-blocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see "[Blocking a user from your organization](https://docs.github.com/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization)." For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#userblockedevent) or "[Blocking users](https://docs.github.com/rest/orgs/blocking)" in the REST API documentation. * - * If you want to receive an event when members are added or removed from an organization, use the `organization` event instead. + * If you want to receive an event when members are added or removed from an organization, use the `organization` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" organization permission. * @description A user was blocked from the organization. */ post: operations["org-block/blocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "org-block-unblocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see "[Blocking a user from your organization](https://docs.github.com/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization)." For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#userblockedevent) or "[Blocking users](https://docs.github.com/rest/orgs/blocking)" in the REST API documentation. * - * If you want to receive an event when members are added or removed from an organization, use the `organization` event instead. + * If you want to receive an event when members are added or removed from an organization, use the `organization` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" organization permission. * @description A previously blocked user was unblocked from the organization. */ post: operations["org-block/unblocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization was deleted. */ post: operations["organization/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member accepted an invitation to join an organization. */ post: operations["organization/member-added"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-invited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was invited to join the organization. */ post: operations["organization/member-invited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was removed from the organization. */ post: operations["organization/member-removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "organization-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name of an organization was changed. */ post: operations["organization/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or "[Packages](https://docs.github.com/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A package was published to a registry. */ post: operations["package/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or "[Packages](https://docs.github.com/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A previously published package was updated. */ post: operations["package/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "page-build": { - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/rest/pages)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/rest/pages)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. */ post: operations["page-build"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "personal-access-token-request-approved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was approved. */ post: operations["personal-access-token-request/approved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "personal-access-token-request-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was cancelled by the requester. */ post: operations["personal-access-token-request/cancelled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "personal-access-token-request-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was created. */ post: operations["personal-access-token-request/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "personal-access-token-request-denied": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was denied. */ post: operations["personal-access-token-request/denied"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; ping: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ post: operations["ping"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note in a classic project was converted to an issue. */ post: operations["project-card/converted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card was added to a classic project. */ post: operations["project-card/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a classic project was deleted. */ post: operations["project-card/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note on a classic project was edited. */ post: operations["project-card/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-card-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a classic project was moved to another column or to another position in its column. */ post: operations["project-card/moved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was closed. */ post: operations["project/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was added to a classic project. */ post: operations["project-column/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was deleted from a classic project. */ post: operations["project-column/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name of a column on a classic project was changed. */ post: operations["project-column/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-column-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was moved to a new position on a classic project. */ post: operations["project-column/moved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was created. */ post: operations["project/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was deleted. */ post: operations["project/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name or description of a classic project was changed. */ post: operations["project/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "project-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. + * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A classic project was closed. */ post: operations["project/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was closed. */ post: operations["projects-v2/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was created. */ post: operations["projects-v2/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was deleted. */ post: operations["projects-v2/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The title, description, or README of a project in the organization was changed. */ post: operations["projects-v2/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/archived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A draft issue in an organization project was converted to an issue. */ post: operations["projects-v2-item/converted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was added to a project in the organization. */ post: operations["projects-v2-item/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was deleted from a project in the organization. */ post: operations["projects-v2-item/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. */ post: operations["projects-v2-item/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-reordered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. */ post: operations["projects-v2-item/reordered"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-item-restored": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/restored"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "projects-v2-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was reopened. */ post: operations["projects-v2/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; public: { - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. */ post: operations["public"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was assigned to a user. */ post: operations["pull-request/assigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-auto-merge-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-disabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-auto-merge-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-enabled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. */ post: operations["pull-request/closed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-converted-to-draft": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/converted-to-draft"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was removed from a milestone. */ post: operations["pull-request/demilestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-dequeued": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was removed from the merge queue. */ post: operations["pull-request/dequeued"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The title or body of a pull request was edited. */ post: operations["pull-request/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-enqueued": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was added to the merge queue. */ post: operations["pull-request/enqueued"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was added to a pull request. */ post: operations["pull-request/labeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/locked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was added to a milestone. */ post: operations["pull-request/milestoned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was created */ post: operations["pull-request/opened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-ready-for-review": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/ready-for-review"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously closed pull request was reopened. */ post: operations["pull-request/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was created. */ post: operations["pull-request-review-comment/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was deleted. */ post: operations["pull-request-review-comment/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The content of a comment on a pull request diff was changed. */ post: operations["pull-request-review-comment/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was dismissed. */ post: operations["pull-request-review/dismissed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The body comment on a pull request review was edited. */ post: operations["pull-request-review/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-request-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A request for review by a person or team was removed from a pull request. */ post: operations["pull-request/review-request-removed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." */ post: operations["pull-request/review-requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-submitted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was submitted. */ post: operations["pull-request-review/submitted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-thread-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment thread on a pull request was marked as resolved. */ post: operations["pull-request-review-thread/resolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-review-thread-unresolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously resolved comment thread on a pull request was marked as unresolved. */ post: operations["pull-request-review-thread/unresolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-synchronize": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. */ post: operations["pull-request/synchronize"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A user was unassigned from a pull request. */ post: operations["pull-request/unassigned"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was removed from a pull request. */ post: operations["pull-request/unlabeled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "pull-request-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/unlocked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; push: { - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, + * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch + * and tag deletions, use the [`delete`](#delete) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Note**: An event will not be created when more than three tags are pushed at once. - */ + * **Note**: An event will not be created when more than three tags are pushed at once. */ post: operations["push"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "registry-package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or "[Packages](https://docs.github.com/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * **Note**: GitHub recommends that you use the newer `package` event instead. + * **Note**: GitHub recommends that you use the newer `package` event instead. * @description A package was published to a registry. */ post: operations["registry-package/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "registry-package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or "[Packages](https://docs.github.com/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * **Note**: GitHub recommends that you use the newer `package` event instead. + * **Note**: GitHub recommends that you use the newer `package` event instead. * @description A package that was previously published to a registry was updated. */ post: operations["registry-package/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. */ post: operations["release/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft release was deleted. */ post: operations["release/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." */ post: operations["release/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-prereleased": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. */ post: operations["release/prereleased"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft of a release was published. */ post: operations["release/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-released": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was published, or a pre-release was changed to a release. */ post: operations["release/released"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "release-unpublished": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release or pre-release was unpublished. */ post: operations["release/unpublished"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-advisory-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Repository security advisories" permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Repository security advisories" permission. * @description A repository security advisory was published. */ post: operations["repository-advisory/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-advisory-reported": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Repository security advisories" permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Repository security advisories" permission. * @description A private vulnerability report was submitted. */ post: operations["repository-advisory/reported"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was archived. */ post: operations["repository/archived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was created. */ post: operations["repository/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. */ post: operations["repository/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-dispatch-sample.collected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event). * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. */ post: operations["repository-dispatch/sample.collected"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The topics, default branch, description, or homepage of a repository was changed. */ post: operations["repository/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-import": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** This event occurs when a repository is imported to GitHub. For more information, see "[Importing a repository with GitHub Importer](https://docs.github.com/get-started/importing-your-projects-to-github/importing-source-code-to-github/importing-a-repository-with-github-importer)." For more information about the API to manage imports, see [the REST API documentation](https://docs.github.com/rest/migrations/source-imports). */ post: operations["repository-import"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-privatized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `private`. */ post: operations["repository/privatized"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-publicized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `public`. */ post: operations["repository/publicized"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The name of a repository was changed. */ post: operations["repository/renamed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-ruleset-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/rest/repos/rules)" and "[Organization rules](https://docs.github.com/rest/orgs/rules) in the REST API documentation." + * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." + * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/rest/repos/rules)" and "[Organization rules](https://docs.github.com/rest/orgs/rules) in the REST API documentation." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A repository ruleset was created. */ post: operations["repository-ruleset/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-ruleset-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/rest/repos/rules)" and "[Organization rules](https://docs.github.com/rest/orgs/rules) in the REST API documentation." + * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." + * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/rest/repos/rules)" and "[Organization rules](https://docs.github.com/rest/orgs/rules) in the REST API documentation." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A repository ruleset was deleted. */ post: operations["repository-ruleset/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-ruleset-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/rest/repos/rules)" and "[Organization rules](https://docs.github.com/rest/orgs/rules) in the REST API documentation." + * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." + * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/rest/repos/rules)" and "[Organization rules](https://docs.github.com/rest/orgs/rules) in the REST API documentation." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A repository ruleset was edited. */ post: operations["repository-ruleset/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. */ post: operations["repository/transferred"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-unarchived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A previously archived repository was unarchived. */ post: operations["repository/unarchived"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-create": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was created. */ post: operations["repository-vulnerability-alert/create"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-dismiss": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was dismissed. */ post: operations["repository-vulnerability-alert/dismiss"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-reopen": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A previously dismissed or resolved repository vulnerability alert was reopened. */ post: operations["repository-vulnerability-alert/reopen"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "repository-vulnerability-alert-resolve": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was marked as resolved. */ post: operations["repository-vulnerability-alert/resolve"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was created. */ post: operations["secret-scanning-alert/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-location-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. + * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. + * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. */ post: operations["secret-scanning-alert-location/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A previously closed secret scanning alert was reopened. */ post: operations["secret-scanning-alert/reopened"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was closed. */ post: operations["secret-scanning-alert/resolved"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "secret-scanning-alert-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was marked as revoked. */ post: operations["secret-scanning-alert/revoked"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description A security advisory was published to the GitHub community. */ post: operations["security-advisory/published"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. */ post: operations["security-advisory/updated"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-advisory-withdrawn": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description A previously published security advisory was withdrawn. */ post: operations["security-advisory/withdrawn"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "security-and-analysis": { - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/code-security/getting-started/github-security-features)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/code-security/getting-started/github-security-features)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. */ post: operations["security-and-analysis"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsorship was cancelled and the last billing cycle has ended. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/cancelled"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. */ post: operations["sponsorship/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. */ post: operations["sponsorship/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-pending-cancellation": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/pending-cancellation"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-pending-tier-change": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. */ post: operations["sponsorship/pending-tier-change"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "sponsorship-tier-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. */ post: operations["sponsorship/tier-changed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "star-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone starred a repository. */ post: operations["star/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "star-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone unstarred the repository. */ post: operations["star/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; status: { - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/rest/commits/statuses)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/rest/commits/statuses)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. */ post: operations["status"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-add": { - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a team is added to a repository. + * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." * - * For activity relating to teams, see the `teams` event. + * For activity relating to teams, see the `teams` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. */ post: operations["team-add"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-added-to-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was granted access to a repository. */ post: operations["team/added-to-repository"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was created. */ post: operations["team/created"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was deleted. */ post: operations["team/deleted"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name, description, or visibility of a team was changed. */ post: operations["team/edited"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "team-removed-from-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team's access to a repository was removed. */ post: operations["team/removed-from-repository"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "watch-started": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/rest/activity/watching)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone started watching the repository. */ post: operations["watch/started"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-dispatch": { - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/actions/managing-workflow-runs/manually-running-a-workflow)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; + /** This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/actions/managing-workflow-runs/manually-running-a-workflow)." * - * For activity relating to workflow runs, use the `workflow_run` event. + * For activity relating to workflow runs, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["workflow-dispatch"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. */ post: operations["workflow-job/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run started processing on a runner. */ post: operations["workflow-job/in-progress"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-queued": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run was created. */ post: operations["workflow-job/queued"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-job-waiting": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run was created and is waiting for approvals. */ post: operations["workflow-job/waiting"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. */ post: operations["workflow-run/completed"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run started processing on a runner. */ post: operations["workflow-run/in-progress"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; "workflow-run-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: never; + put: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run was triggered. */ post: operations["workflow-run/requested"]; + delete: never; + options: never; + head: never; + patch: never; + trace: never; }; } - export interface components { schemas: { /** branch protection configuration disabled event */ @@ -2586,8 +5653,8 @@ export interface components { /** * Simple Installation * @description The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured - * for and sent to a GitHub App. For more information, - * see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + * for and sent to a GitHub App. For more information, + * see "[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." */ "simple-installation": { /** @description The ID of the installation. */ @@ -2598,7 +5665,7 @@ export interface components { /** * Organization Simple * @description A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an - * organization, or when the event occurs from activity in a repository owned by an organization. + * organization, or when the event occurs from activity in a repository owned by an organization. */ "organization-simple-webhooks": { login: string; @@ -2620,7 +5687,7 @@ export interface components { /** * Repository * @description The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property - * when the event occurs from activity in a repository. + * when the event occurs from activity in a repository. */ "repository-webhooks": { /** @description Unique identifier of the repository */ @@ -2722,7 +5789,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template?: boolean; + is_template: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -2749,7 +5816,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; /** * @description Whether the repository is archived. * @default false @@ -2761,7 +5828,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility?: string; + visibility: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -2772,7 +5839,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; template_repository?: { id?: number; node_id?: string; @@ -2882,34 +5949,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -2922,59 +5989,59 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch?: boolean; + allow_update_branch: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -2982,14 +6049,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required?: boolean; + web_commit_signoff_required: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -3418,9 +6485,9 @@ export interface components { /** * @description The set of permissions for the GitHub app * @example { - * "issues": "read", - * "deployments": "write" - * } + * "issues": "read", + * "deployments": "write" + * } */ permissions: { issues?: string; @@ -3428,7 +6495,7 @@ export interface components { metadata?: string; contents?: string; deployments?: string; - [key: string]: string | undefined; + [key: string]: string; }; /** @description The list of events for the GitHub app */ events: string[]; @@ -5465,10 +8532,10 @@ export interface components { * @description The state of the Dependabot alert. * @enum {string} */ - state: "auto_dismissed" | "dismissed" | "fixed" | "open"; + readonly state: "auto_dismissed" | "dismissed" | "fixed" | "open"; /** @description Details for the vulnerable dependency. */ - dependency: { - readonly package?: components["schemas"]["dependabot-alert-package"]; + readonly dependency: { + package?: components["schemas"]["dependabot-alert-package"]; /** @description The full path to the dependency manifest file, relative to the root of the repository. */ readonly manifest_path?: string; /** @@ -5502,16 +8569,16 @@ export interface components { auto_dismissed_at?: components["schemas"]["alert-auto-dismissed-at"]; }; /** @description The security alert number. */ - readonly "alert-number": number; + "alert-number": number; /** @description Details for the vulnerable package. */ - readonly "dependabot-alert-package": { + "dependabot-alert-package": { /** @description The package's language or package management ecosystem. */ readonly ecosystem: string; /** @description The unique package name within its ecosystem. */ readonly name: string; }; /** @description Details for the GitHub Security Advisory. */ - readonly "dependabot-alert-security-advisory": { + "dependabot-alert-security-advisory": { /** @description The unique GitHub Security Advisory ID assigned to the advisory. */ readonly ghsa_id: string; /** @description The unique CVE ID assigned to the advisory. */ @@ -5521,7 +8588,7 @@ export interface components { /** @description A long-form Markdown-supported description of the advisory. */ readonly description: string; /** @description Vulnerable version range information for the advisory. */ - readonly vulnerabilities: readonly components["schemas"]["dependabot-alert-security-vulnerability"][]; + readonly vulnerabilities: components["schemas"]["dependabot-alert-security-vulnerability"][]; /** * @description The severity of the advisory. * @enum {string} @@ -5535,14 +8602,14 @@ export interface components { readonly vector_string: string | null; }; /** @description Details for the advisory pertaining to Common Weakness Enumeration. */ - readonly cwes: readonly { + readonly cwes: { /** @description The unique CWE ID. */ readonly cwe_id: string; /** @description The short, plain text name of the CWE. */ readonly name: string; }[]; /** @description Values that identify this advisory among security information sources. */ - readonly identifiers: readonly { + readonly identifiers: { /** * @description The type of advisory identifier. * @enum {string} @@ -5552,7 +8619,7 @@ export interface components { readonly value: string; }[]; /** @description Links to additional advisory information. */ - readonly references: readonly { + readonly references: { /** * Format: uri * @description The URL of the reference. @@ -5576,8 +8643,8 @@ export interface components { readonly withdrawn_at: string | null; }; /** @description Details pertaining to one vulnerable version range for the advisory. */ - readonly "dependabot-alert-security-vulnerability": { - readonly package: components["schemas"]["dependabot-alert-package"]; + "dependabot-alert-security-vulnerability": { + package: components["schemas"]["dependabot-alert-package"]; /** * @description The severity of the vulnerability. * @enum {string} @@ -5595,37 +8662,37 @@ export interface components { * Format: uri * @description The REST API URL of the alert resource. */ - readonly "alert-url": string; + "alert-url": string; /** * Format: uri * @description The GitHub URL of the alert resource. */ - readonly "alert-html-url": string; + "alert-html-url": string; /** * Format: date-time * @description The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-created-at": string; + "alert-created-at": string; /** * Format: date-time * @description The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-updated-at": string; + "alert-updated-at": string; /** * Format: date-time * @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-dismissed-at": string | null; + "alert-dismissed-at": string | null; /** * Format: date-time * @description The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-fixed-at": string | null; + "alert-fixed-at": string | null; /** * Format: date-time * @description The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-auto-dismissed-at": string | null; + "alert-auto-dismissed-at": string | null; /** Dependabot alert auto-reopened event */ "webhook-dependabot-alert-auto-reopened": { /** @enum {string} */ @@ -6335,14 +9402,11 @@ export interface components { ref: string; /** @description Parameter to specify a task to execute */ task: string; - payload: OneOf< - [ - { + payload: + | { [key: string]: unknown; - }, - string, - ] - >; + } + | string; original_environment?: string; /** @description Name for the target deployment environment. */ environment: string; @@ -8173,7 +11237,8 @@ export interface components { id: number; node_id: string; original_environment: string; - payload: string | Record | null; + payload: (null | Record) & + (string | Record); /** * App * @description GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. @@ -9125,8 +12190,8 @@ export interface components { repository_url: string; /** * @description The current state of the discussion. - * `converting` means that the discussion is being converted from an issue. - * `transferring` means that the discussion is being transferred from another repository. + * `converting` means that the discussion is being converted from an issue. + * `transferring` means that the discussion is being transferred from another repository. * @enum {string} */ state: "open" | "closed" | "locked" | "converting" | "transferring"; @@ -9933,24 +12998,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -9986,7 +13051,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -10125,7 +13190,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -10366,11 +13431,15 @@ export interface components { /** @description The ID of the installation. */ id: number; account: - | null | ( - | components["schemas"]["simple-user"] - | components["schemas"]["enterprise"] - ); + | null + | ( + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"] + ) + ) + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"]; /** * @description Describe whether all repositories have been selected or there's a selection involved * @enum {string} @@ -10433,11 +13502,11 @@ export interface components { * App Permissions * @description The permissions granted to the user access token. * @example { - * "contents": "read", - * "issues": "read", - * "deployments": "write", - * "single_file": "read" - * } + * "contents": "read", + * "issues": "read", + * "deployments": "write", + * "single_file": "read" + * } */ "app-permissions": { /** @@ -17861,24 +20930,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -17914,7 +20983,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -18055,7 +21124,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -20065,24 +23134,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -20118,7 +23187,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -20262,7 +23331,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -23780,6 +26849,7 @@ export interface components { /** * Merge Group * @description A group of pull requests that the merge queue has grouped together to be merged. + * */ "merge-group": { /** @description The SHA of the merge group. */ @@ -24929,19 +27999,16 @@ export interface components { | { id?: number | string; name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -26524,22 +29591,19 @@ export interface components { "webhook-projects-v2-item-edited": { /** @enum {string} */ action: "edited"; - changes?: OneOf< - [ - { + changes?: + | { field_value: { field_node_id?: string; field_type?: string; }; - }, - { + } + | { body: { from?: string | null; to?: string | null; }; - }, - ] - >; + }; installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; @@ -26841,24 +29905,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -26894,7 +29958,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -26978,17 +30042,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -27055,7 +30119,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -27063,9 +30127,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -27075,8 +30139,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -27108,7 +30172,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -27184,24 +30248,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -27237,7 +30301,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -27321,17 +30385,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -27398,7 +30462,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -27406,9 +30470,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -27418,8 +30482,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -27451,7 +30515,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -27641,9 +30705,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -27678,8 +30741,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -27729,9 +30792,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -28052,24 +31114,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -28105,7 +31167,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28189,17 +31251,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -28266,7 +31328,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -28274,9 +31336,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -28286,8 +31348,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28319,7 +31381,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -28395,24 +31457,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -28448,7 +31510,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28532,17 +31594,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -28609,7 +31671,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -28617,9 +31679,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -28629,8 +31691,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28662,7 +31724,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -28852,9 +31914,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -28889,8 +31950,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -28940,9 +32001,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -29264,24 +32324,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29317,7 +32377,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29401,17 +32461,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -29478,7 +32538,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -29486,9 +32546,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -29498,8 +32558,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29531,7 +32591,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -29607,24 +32667,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29660,7 +32720,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29744,17 +32804,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -29821,7 +32881,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -29829,9 +32889,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -29841,8 +32901,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29874,7 +32934,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30064,9 +33124,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -30101,8 +33160,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -30152,9 +33211,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -30279,41 +33337,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30321,7 +33379,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -30339,41 +33397,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30381,7 +33439,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -30597,24 +33655,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30650,7 +33708,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30734,17 +33792,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -30811,7 +33869,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -30819,9 +33877,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -30831,8 +33889,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30864,7 +33922,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30940,24 +33998,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30993,7 +34051,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31077,17 +34135,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -31154,7 +34212,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -31162,9 +34220,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -31174,8 +34232,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31207,7 +34265,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31397,9 +34455,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -31434,8 +34491,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -31485,9 +34542,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -31808,24 +34864,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31861,7 +34917,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31945,17 +35001,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32022,7 +35078,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32030,9 +35086,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32042,8 +35098,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -32075,7 +35131,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32151,24 +35207,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32204,7 +35260,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32288,17 +35344,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32365,7 +35421,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32373,9 +35429,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32385,8 +35441,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -32418,7 +35474,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32608,9 +35664,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -32645,8 +35700,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -32696,9 +35751,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -32842,41 +35896,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -32884,7 +35938,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender?: components["schemas"]["simple-user-webhooks"]; @@ -33099,24 +36153,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33152,7 +36206,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33236,17 +36290,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -33313,7 +36367,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -33321,9 +36375,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -33333,8 +36387,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33366,7 +36420,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33442,24 +36496,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33495,7 +36549,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33579,17 +36633,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -33656,7 +36710,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -33664,9 +36718,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -33676,8 +36730,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33709,7 +36763,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33899,9 +36953,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -33936,8 +36989,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -33987,9 +37040,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -34327,24 +37379,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34380,7 +37432,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34464,17 +37516,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -34541,7 +37593,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -34549,9 +37601,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -34561,8 +37613,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34594,7 +37646,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -34670,24 +37722,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34723,7 +37775,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34807,17 +37859,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -34884,7 +37936,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -34892,9 +37944,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -34904,8 +37956,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34937,7 +37989,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35127,9 +38179,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -35164,8 +38215,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -35215,9 +38266,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -35539,24 +38589,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35592,7 +38642,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35676,17 +38726,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -35753,7 +38803,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -35761,9 +38811,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -35773,8 +38823,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -35806,7 +38856,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35882,24 +38932,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35935,7 +38985,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36019,17 +39069,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -36096,7 +39146,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -36104,9 +39154,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -36116,8 +39166,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -36149,7 +39199,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36339,9 +39389,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -36376,8 +39425,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -36427,9 +39476,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -36751,24 +39799,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36804,7 +39852,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36888,17 +39936,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -36965,7 +40013,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -36973,9 +40021,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -36985,8 +40033,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37018,7 +40066,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37094,24 +40142,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37147,7 +40195,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37231,17 +40279,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -37308,7 +40356,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -37316,9 +40364,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -37328,8 +40376,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37361,7 +40409,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37551,9 +40599,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -37588,8 +40635,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -37639,9 +40686,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -37765,41 +40811,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37807,7 +40853,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -37825,41 +40871,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37867,7 +40913,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -37885,41 +40931,41 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37927,7 +40973,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -38292,24 +41338,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38345,7 +41391,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38429,17 +41475,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -38506,7 +41552,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -38514,9 +41560,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -38526,8 +41572,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -38559,7 +41605,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38628,24 +41674,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38681,7 +41727,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38730,7 +41776,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; homepage: string | null; /** Format: uri */ hooks_url: string; @@ -38765,17 +41811,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -38842,7 +41888,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -38850,9 +41896,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -38862,8 +41908,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -38895,7 +41941,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39040,9 +42086,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -39077,8 +42122,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -39128,9 +42173,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -39595,24 +42639,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39648,7 +42692,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39732,17 +42776,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -39809,7 +42853,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -39817,9 +42861,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -39829,8 +42873,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -39862,7 +42906,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39931,24 +42975,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39984,7 +43028,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40068,17 +43112,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -40145,7 +43189,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -40153,9 +43197,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -40165,8 +43209,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -40198,7 +43242,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -40343,9 +43387,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -40380,8 +43423,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -40431,9 +43474,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -40905,24 +43947,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40958,7 +44000,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41042,17 +44084,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41119,7 +44161,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41127,9 +44169,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -41139,8 +44181,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -41172,7 +44214,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41241,24 +44283,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41294,7 +44336,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41378,17 +44420,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41455,7 +44497,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41463,9 +44505,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -41475,8 +44517,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -41508,7 +44550,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41653,9 +44695,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -41690,8 +44731,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -41741,9 +44782,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -42056,24 +45096,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42109,7 +45149,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42193,17 +45233,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -42270,7 +45310,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42278,9 +45318,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -42290,8 +45330,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -42323,7 +45363,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42392,24 +45432,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42445,7 +45485,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42529,17 +45569,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -42606,7 +45646,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42614,9 +45654,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -42626,8 +45666,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -42659,7 +45699,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42804,9 +45844,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -42841,8 +45880,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -42892,9 +45931,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -43294,24 +46332,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43347,7 +46385,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43486,7 +46524,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -43581,24 +46619,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43634,7 +46672,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43773,7 +46811,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -43944,9 +46982,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -43981,8 +47018,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -44032,9 +47069,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -44220,9 +47256,8 @@ export interface components { sender: components["schemas"]["simple-user-webhooks"]; }; /** pull_request review_request_removed event */ - "webhook-pull-request-review-request-removed": OneOf< - [ - { + "webhook-pull-request-review-request-removed": + | { /** @enum {string} */ action: "review_request_removed"; installation?: components["schemas"]["simple-installation"]; @@ -44432,24 +47467,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44485,7 +47520,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44569,17 +47604,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -44646,7 +47681,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -44692,7 +47727,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44768,24 +47803,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44821,7 +47856,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44905,17 +47940,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -44982,7 +48017,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -44990,9 +48025,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -45002,8 +48037,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -45035,7 +48070,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45225,9 +48260,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -45262,8 +48296,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -45313,9 +48347,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -45462,8 +48495,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_request_removed"; installation?: components["schemas"]["simple-installation"]; @@ -45673,24 +48706,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45726,7 +48759,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45810,17 +48843,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -45887,7 +48920,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -45895,9 +48928,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -45907,8 +48940,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -45940,7 +48973,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46016,24 +49049,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46069,7 +49102,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46153,17 +49186,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -46230,7 +49263,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -46238,9 +49271,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -46250,8 +49283,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -46283,7 +49316,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46473,9 +49506,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -46510,8 +49542,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -46561,9 +49593,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -46728,13 +49759,10 @@ export interface components { url: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request review_requested event */ - "webhook-pull-request-review-requested": OneOf< - [ - { + "webhook-pull-request-review-requested": + | { /** @enum {string} */ action: "review_requested"; installation?: components["schemas"]["simple-installation"]; @@ -46944,24 +49972,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46997,7 +50025,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47081,17 +50109,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -47158,7 +50186,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -47166,9 +50194,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -47178,8 +50206,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -47211,7 +50239,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -47287,24 +50315,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47340,7 +50368,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47424,17 +50452,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -47501,7 +50529,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -47509,9 +50537,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -47521,8 +50549,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -47554,7 +50582,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -47744,9 +50772,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -47781,8 +50808,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -47832,9 +50859,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -47981,8 +51007,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_requested"; installation?: components["schemas"]["simple-installation"]; @@ -48192,24 +51218,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48245,7 +51271,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48329,17 +51355,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -48406,7 +51432,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -48414,9 +51440,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -48426,8 +51452,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -48459,7 +51485,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -48535,24 +51561,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48588,7 +51614,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48672,17 +51698,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -48749,7 +51775,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -48757,9 +51783,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -48769,8 +51795,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -48802,7 +51828,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -48992,9 +52018,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -49029,8 +52054,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -49080,9 +52105,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -49247,9 +52271,7 @@ export interface components { url?: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request_review submitted event */ "webhook-pull-request-review-submitted": { /** @enum {string} */ @@ -49458,24 +52480,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49511,7 +52533,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49595,17 +52617,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -49672,7 +52694,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -49680,9 +52702,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -49692,8 +52714,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -49725,7 +52747,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -49794,24 +52816,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49847,7 +52869,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49931,17 +52953,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -50008,7 +53030,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -50016,9 +53038,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -50028,8 +53050,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -50061,7 +53083,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -50206,9 +53228,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -50243,8 +53264,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -50294,9 +53315,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -50689,24 +53709,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50742,7 +53762,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50886,7 +53906,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -50983,24 +54003,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51036,7 +54056,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51180,7 +54200,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -51353,9 +54373,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -51390,8 +54409,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -51441,9 +54460,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -51908,24 +54926,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51961,7 +54979,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52105,7 +55123,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -52202,24 +55220,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52255,7 +55273,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52399,7 +55417,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -52572,9 +55590,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -52609,8 +55626,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -52660,9 +55677,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -53132,24 +56148,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53185,7 +56201,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53269,17 +56285,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -53346,7 +56362,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53354,9 +56370,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -53366,8 +56382,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -53399,7 +56415,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53475,24 +56491,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53528,7 +56544,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53682,7 +56698,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53690,9 +56706,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -53702,8 +56718,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -53735,7 +56751,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53925,9 +56941,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -53962,8 +56977,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -54013,9 +57028,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -54374,24 +57388,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54427,7 +57441,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54511,17 +57525,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -54588,7 +57602,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -54596,9 +57610,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -54608,8 +57622,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -54641,7 +57655,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -54717,24 +57731,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54770,7 +57784,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54854,17 +57868,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -54931,7 +57945,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -54939,9 +57953,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -54951,8 +57965,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -54984,7 +57998,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -55174,9 +58188,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -55211,8 +58224,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -55262,9 +58275,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -55602,24 +58614,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -55655,7 +58667,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -55739,17 +58751,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -55816,7 +58828,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -55824,9 +58836,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -55836,8 +58848,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -55869,7 +58881,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -55945,24 +58957,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -55998,7 +59010,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56152,7 +59164,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -56160,9 +59172,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -56172,8 +59184,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -56205,7 +59217,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -56395,9 +59407,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -56432,8 +59443,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -56483,9 +59494,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -56807,24 +59817,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -56860,7 +59870,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56944,17 +59954,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -57021,7 +60031,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -57029,9 +60039,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -57041,8 +60051,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -57074,7 +60084,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -57150,24 +60160,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -57203,7 +60213,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -57287,17 +60297,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -57364,7 +60374,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -57372,9 +60382,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -57384,8 +60394,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -57417,7 +60427,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -57607,9 +60617,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -57644,8 +60653,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -57695,9 +60704,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -57951,24 +60959,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -58004,7 +61012,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -58148,7 +61156,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -58269,19 +61277,23 @@ export interface components { name?: string; version?: string; npm_user?: string; - author?: string | Record | null; - bugs?: string | Record | null; + author?: (null | Record) & + (string | Record); + bugs?: (null | Record) & + (string | Record); dependencies?: Record; dev_dependencies?: Record; peer_dependencies?: Record; optional_dependencies?: Record; description?: string; - dist?: string | Record | null; + dist?: (null | Record) & + (string | Record); git_head?: string; homepage?: string; license?: string; main?: string; - repository?: string | Record | null; + repository?: (null | Record) & + (string | Record); scripts?: Record; id?: string; node_version?: string; @@ -58294,7 +61306,8 @@ export interface components { files?: string[]; bin?: Record; man?: Record; - directories?: string | Record | null; + directories?: (null | Record) & + (string | Record); os?: string[]; cpu?: string[]; readme?: string; @@ -58306,21 +61319,19 @@ export interface components { } | null; nuget_metadata?: | { - id?: string | Record | number | null; + id?: (null | Record) & + (string | Record | number); name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -59748,7 +62759,7 @@ export interface components { /** @description A repository security advisory. */ "repository-advisory": { /** @description The GitHub Security Advisory ID. */ - ghsa_id: string; + readonly ghsa_id: string; /** @description The Common Vulnerabilities and Exposures (CVE) ID. */ cve_id: string | null; /** @description The API URL for the advisory. */ @@ -59757,7 +62768,7 @@ export interface components { * Format: uri * @description The URL for the advisory. */ - html_url: string; + readonly html_url: string; /** @description A short summary of the advisory. */ summary: string; /** @description A detailed description of what the advisory entails. */ @@ -59768,10 +62779,10 @@ export interface components { */ severity: "critical" | "high" | "medium" | "low" | null; /** @description The author of the advisory. */ - author: null; + readonly author: null & components["schemas"]["simple-user"]; /** @description The publisher of the advisory. */ - publisher: null; - identifiers: readonly { + readonly publisher: null & components["schemas"]["simple-user"]; + readonly identifiers: { /** * @description The type of identifier. * @enum {string} @@ -59789,28 +62800,28 @@ export interface components { * Format: date-time * @description The date and time of when the advisory was created, in ISO 8601 format. */ - created_at: string | null; + readonly created_at: string | null; /** * Format: date-time * @description The date and time of when the advisory was last updated, in ISO 8601 format. */ - updated_at: string | null; + readonly updated_at: string | null; /** * Format: date-time * @description The date and time of when the advisory was published, in ISO 8601 format. */ - published_at: string | null; + readonly published_at: string | null; /** * Format: date-time * @description The date and time of when the advisory was closed, in ISO 8601 format. */ - closed_at: string | null; + readonly closed_at: string | null; /** * Format: date-time * @description The date and time of when the advisory was withdrawn, in ISO 8601 format. */ - withdrawn_at: string | null; - submission: { + readonly withdrawn_at: string | null; + readonly submission: { /** @description Whether a private vulnerability report was accepted by the repository's administrators. */ readonly accepted: boolean; } | null; @@ -59821,14 +62832,14 @@ export interface components { /** @description The CVSS vector. */ vector_string: string | null; /** @description The CVSS score. */ - score: number | null; + readonly score: number | null; } | null; - cwes: - | readonly { + readonly cwes: + | { /** @description The Common Weakness Enumeration (CWE) identifier. */ cwe_id: string; /** @description The name of the CWE. */ - name: string; + readonly name: string; }[] | null; /** @description A list of only the CWE IDs. */ @@ -59840,15 +62851,15 @@ export interface components { type?: components["schemas"]["security-advisory-credit-types"]; }[] | null; - credits_detailed: - | readonly components["schemas"]["repository-advisory-credit"][] + readonly credits_detailed: + | components["schemas"]["repository-advisory-credit"][] | null; /** @description A list of users that collaborate on the advisory. */ collaborating_users: components["schemas"]["simple-user"][] | null; /** @description A list of teams that collaborate on the advisory. */ collaborating_teams: components["schemas"]["team"][] | null; /** @description A temporary private fork of the advisory's repository for collaborating on a fix. */ - private_fork: null; + readonly private_fork: null & components["schemas"]["simple-repository"]; }; /** @description A product affected by the vulnerability detailed in a repository security advisory. */ "repository-advisory-vulnerability": { @@ -60231,7 +63242,7 @@ export interface components { bypass_actors?: components["schemas"]["repository-ruleset-bypass-actor"][]; /** * @description The bypass type of the user making the API request for this ruleset. This field is only returned when - * querying the repository-level endpoint. + * querying the repository-level endpoint. * @enum {string} */ current_user_can_bypass?: "always" | "pull_requests_only" | "never"; @@ -60297,6 +63308,7 @@ export interface components { /** * Organization ruleset conditions * @description Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + * */ "org-ruleset-conditions": | (components["schemas"]["repository-ruleset-conditions"] & @@ -61502,34 +64514,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -61549,7 +64561,7 @@ export interface components { * @description Whether anonymous git access is allowed. * @default true */ - anonymous_access_enabled?: boolean; + anonymous_access_enabled: boolean; code_of_conduct?: components["schemas"]["code-of-conduct-simple"]; security_and_analysis?: components["schemas"]["security-and-analysis"]; }; @@ -61657,7 +64669,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template?: boolean; + is_template: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -61685,7 +64697,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions?: boolean; + has_discussions: boolean; /** * @description Whether the repository is archived. * @default false @@ -61697,7 +64709,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility?: string; + visibility: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -61708,7 +64720,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; template_repository?: { id?: number; node_id?: string; @@ -61818,34 +64830,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -61858,59 +64870,59 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch?: boolean; + allow_update_branch: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default?: boolean; + use_squash_pr_title_as_default: boolean; /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -61918,14 +64930,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required?: boolean; + web_commit_signoff_required: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -63032,24 +66044,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -63085,7 +66097,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -63224,7 +66236,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -63344,24 +66356,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -63397,7 +66409,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -63536,7 +66548,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -63656,24 +66668,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -63709,7 +66721,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -63848,7 +66860,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -63999,24 +67011,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -64052,7 +67064,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -64191,7 +67203,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -64311,24 +67323,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge?: boolean; + allow_auto_merge: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit?: boolean; + allow_merge_commit: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge?: boolean; + allow_rebase_merge: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge?: boolean; + allow_squash_merge: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -64364,7 +67376,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge?: boolean; + delete_branch_on_merge: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -64503,7 +67515,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -66857,22 +69869,11 @@ export interface components { headers: never; pathItems: never; } - export type $defs = Record; - -export type external = Record; - export interface operations { - /** - * This event occurs when there is a change to branch protection configurations for a repository. - * For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." - * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description All branch protections were disabled for a repository. - */ "branch-protection-configuration/disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66889,6 +69890,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66898,20 +69901,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is a change to branch protection configurations for a repository. - * For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." - * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description All branch protections were enabled for a repository. - */ "branch-protection-configuration/enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66928,6 +69927,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66937,18 +69938,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was created. - */ "branch-protection-rule/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66965,6 +69964,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66974,18 +69975,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was deleted. - */ "branch-protection-rule/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67002,6 +70001,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67011,18 +70012,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was edited. - */ "branch-protection-rule/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67039,6 +70038,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67048,24 +70049,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run was completed, and a conclusion is available. - */ "check-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67082,6 +70075,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67091,24 +70086,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A new check run was created. - */ "check-run/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67125,6 +70112,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67134,24 +70123,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/developers/apps/guides/creating-ci-tests-with-the-checks-api)." - */ "check-run/requested-action": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67168,6 +70149,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67177,24 +70160,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. - */ "check-run/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67211,6 +70186,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67220,24 +70197,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description All check runs in a check suite have completed, and a conclusion is available. - */ "check-suite/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67254,6 +70223,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67263,24 +70234,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/rest/checks/runs#create-a-check-run)" in the REST API documentation. - */ "check-suite/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67297,6 +70260,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67306,24 +70271,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/rest/checks/suites#create-a-check-suite)" in the REST API documentation. - */ "check-suite/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67340,6 +70297,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67349,18 +70308,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. - */ "code-scanning-alert/appeared-in-branch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67377,6 +70334,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67386,18 +70345,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone closed a code scanning alert. - */ "code-scanning-alert/closed-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67414,6 +70371,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67423,18 +70382,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was created in a repository. - */ "code-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67451,6 +70408,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67460,18 +70419,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was fixed in a branch by a commit. - */ "code-scanning-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67488,6 +70445,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67497,18 +70456,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously fixed code scanning alert reappeared in a branch. - */ "code-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67525,6 +70482,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67534,18 +70493,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone reopened a code scanning alert. - */ "code-scanning-alert/reopened-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67562,6 +70519,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67571,20 +70530,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/rest/commits/comments)" in the REST API documentation. - * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description Someone commented on a commit. - */ "commit-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67601,6 +70556,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67610,21 +70567,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is created. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ create: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67641,6 +70593,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67650,20 +70604,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Note**: This event will not occur when more than three tags are deleted at once. - */ delete: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67680,6 +70630,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67689,22 +70641,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was automatically closed. - */ "dependabot-alert/auto-dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67721,6 +70667,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67730,22 +70678,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was automatically reopened. - */ "dependabot-alert/auto-reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67762,6 +70704,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67771,22 +70715,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. - */ "dependabot-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67803,6 +70741,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67812,22 +70752,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually closed. - */ "dependabot-alert/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67844,6 +70778,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67853,22 +70789,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change removed a vulnerability. - */ "dependabot-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67885,6 +70815,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67894,22 +70826,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. - */ "dependabot-alert/reintroduced": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67926,6 +70852,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67935,22 +70863,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually reopened. - */ "dependabot-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67967,6 +70889,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67976,18 +70900,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was created. - */ "deploy-key/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68004,6 +70926,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68013,18 +70937,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was deleted. - */ "deploy-key/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68041,6 +70963,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68050,20 +70974,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment status, use the `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment was created. - */ "deployment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68080,6 +71000,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68089,18 +71011,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment protection rules. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules)." For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/rest/deployments/environments). - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment protection rule was requested for an environment. - */ "deployment-protection-rule/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68117,6 +71037,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68126,20 +71048,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was approved. - */ "deployment-review/approved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68156,6 +71074,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68165,20 +71085,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was rejected. - */ "deployment-review/rejected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68195,6 +71111,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68204,20 +71122,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was requested. - */ "deployment-review/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68234,6 +71148,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68243,20 +71159,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation, use the `deployment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A new deployment status was created. - */ "deployment-status/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68273,6 +71185,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68282,22 +71196,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was marked as the answer. - */ "discussion/answered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68314,6 +71222,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68323,22 +71233,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The category of a discussion was changed. - */ "discussion/category-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68355,6 +71259,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68364,22 +71270,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was closed. - */ "discussion/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68396,6 +71296,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68405,22 +71307,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was created. - */ "discussion-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68437,6 +71333,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68446,22 +71344,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was deleted. - */ "discussion-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68478,6 +71370,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68487,22 +71381,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was edited. - */ "discussion-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68519,6 +71407,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68528,22 +71418,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was created. - */ "discussion/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68560,6 +71444,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68569,22 +71455,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was deleted. - */ "discussion/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68601,6 +71481,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68610,22 +71492,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The title or body on a discussion was edited, or the category of the discussion was changed. - */ "discussion/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68642,6 +71518,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68651,22 +71529,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was added to a discussion. - */ "discussion/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68683,6 +71555,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68692,22 +71566,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was locked. - */ "discussion/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68724,6 +71592,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68733,22 +71603,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was pinned. - */ "discussion/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68765,6 +71629,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68774,22 +71640,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was reopened. - */ "discussion/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68806,6 +71666,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68815,22 +71677,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was transferred to another repository. - */ "discussion/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68847,6 +71703,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68856,22 +71714,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was unmarked as the answer. - */ "discussion/unanswered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68888,6 +71740,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68897,22 +71751,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was removed from a discussion. - */ "discussion/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68929,6 +71777,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68938,22 +71788,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unlocked. - */ "discussion/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68970,6 +71814,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68979,22 +71825,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unpinned. - */ "discussion/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69011,6 +71851,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69020,17 +71862,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/rest/repos/forks)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ fork: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69047,6 +71888,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69056,20 +71899,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. - * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. - * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." - * @description Someone revoked their authorization of a GitHub App. - */ "github-app-authorization/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69086,6 +71925,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69095,17 +71936,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/communities/documenting-your-project-with-wikis/about-wikis)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ gollum: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69122,6 +71962,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69131,18 +71973,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. - * @description Someone installed a GitHub App on a user or organization account. - */ "installation/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69159,6 +71999,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69168,18 +72010,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. - * @description Someone uninstalled a GitHub App from their user or organization account. - */ "installation/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69196,6 +72036,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69205,18 +72047,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. - * @description Someone granted new permissions to a GitHub App. - */ "installation/new-permissions-accepted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69233,6 +72073,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69242,18 +72084,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. - * @description A GitHub App installation was granted access to one or more repositories. - */ "installation-repositories/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69270,6 +72110,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69279,18 +72121,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. - * @description Access to one or more repositories was revoked for a GitHub App installation. - */ "installation-repositories/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69307,6 +72147,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69316,18 +72158,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. - * @description Someone blocked access by a GitHub App to their user or organization account. - */ "installation/suspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69344,6 +72184,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69353,16 +72195,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. - * @description Somebody renamed the user or organization account that a GitHub App is installed on. - */ "installation-target/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69379,6 +72221,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69388,18 +72232,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. - * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. - */ "installation/unsuspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69416,6 +72258,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69425,20 +72269,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was created. - */ "issue-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69455,6 +72295,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69464,20 +72306,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was deleted. - */ "issue-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69494,6 +72332,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69503,20 +72343,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was edited. - */ "issue-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69533,6 +72369,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69542,20 +72380,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was assigned to a user. - */ "issues/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69572,6 +72406,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69581,20 +72417,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was closed. - */ "issues/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69611,6 +72443,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69620,20 +72454,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was deleted. - */ "issues/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69650,6 +72480,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69659,20 +72491,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was removed from a milestone. - */ "issues/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69689,6 +72517,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69698,20 +72528,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description The title or body on an issue was edited. - */ "issues/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69728,6 +72554,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69737,20 +72565,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was added to an issue. - */ "issues/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69767,6 +72591,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69776,20 +72602,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69806,6 +72628,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69815,20 +72639,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was added to a milestone. - */ "issues/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69845,6 +72665,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69854,20 +72676,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. - */ "issues/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69884,6 +72702,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69893,20 +72713,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69923,6 +72739,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69932,20 +72750,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A closed issue was reopened. - */ "issues/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69962,6 +72776,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69971,20 +72787,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." - */ "issues/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70001,6 +72813,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70010,20 +72824,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A user was unassigned from an issue. - */ "issues/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70040,6 +72850,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70049,20 +72861,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was removed from an issue. - */ "issues/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70079,6 +72887,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70088,20 +72898,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70118,6 +72924,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70127,20 +72935,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70157,6 +72961,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70166,20 +72972,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or "[Labels](https://docs.github.com/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was created. - */ "label/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70196,6 +72998,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70205,20 +73009,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or "[Labels](https://docs.github.com/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was deleted. - */ "label/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70235,6 +73035,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70244,20 +73046,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or "[Labels](https://docs.github.com/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label's name, description, or color was changed. - */ "label/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70274,6 +73072,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70283,16 +73083,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in the REST API documentation. - * @description Someone cancelled a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately. - */ "marketplace-purchase/cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70309,6 +73109,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70318,16 +73120,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in the REST API documentation. - * @description Someone upgraded or downgraded a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately. - */ "marketplace-purchase/changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70344,6 +73146,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70353,16 +73157,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in the REST API documentation. - * @description Someone downgraded or cancelled a GitHub Marketplace plan. The new plan or cancellation will take effect at the end of the current billing cycle. When the change takes effect, the `changed` or `cancelled` event will be sent. - */ "marketplace-purchase/pending-change": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70379,6 +73183,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70388,16 +73194,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in the REST API documentation. - * @description Someone cancelled a pending change to a GitHub Marketplace plan. Pending changes include plan cancellations and downgrades that will take effect at the end of a billing cycle. - */ "marketplace-purchase/pending-change-cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70414,6 +73220,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70423,16 +73231,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in the REST API documentation. - * @description Someone purchased a GitHub Marketplace plan. The change will take effect on the account immediately. - */ "marketplace-purchase/purchased": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70449,6 +73257,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70458,18 +73268,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A GitHub user accepted an invitation to a repository. - */ "member/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70486,6 +73294,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70495,18 +73305,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description Permissions were changed for a collaborator on a repository. - */ "member/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70523,6 +73331,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70532,18 +73342,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A collaborator was removed from a repository. - */ "member/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70560,6 +73368,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70569,18 +73379,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#team) or "[Team members](https://docs.github.com/rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was added to a team. - */ "membership/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70597,6 +73405,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70606,18 +73416,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#team) or "[Team members](https://docs.github.com/rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was removed from a team. - */ "membership/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70634,6 +73442,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70643,20 +73453,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a merge group in a merge queue. For more information, see "[Managing a merge queue](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Merge queues" repository permission. - * @description Status checks were requested for a merge group. This happens when a merge group is created or added to by the merge queue because a pull request was queued. - * - * When you receive this event, you should perform checks on the head SHA and report status back using check runs or commit statuses. - */ "merge-group/checks-requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70673,6 +73479,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70682,20 +73490,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a merge group in a merge queue. For more information, see "[Managing a merge queue](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Merge queues" repository permission. - * @description The merge queue groups pull requests together to be merged. This event indicates that one of those merge groups was destroyed. This happens when a pull request is removed from the queue: any group containing that pull request is also destroyed. - * - * When you receive this event, you may want to cancel any checks that are running on the head SHA to avoid wasting computing resources on a merge group that will not be used. - */ "merge-group/destroyed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70712,6 +73516,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70721,18 +73527,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a webhook itself. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. - * @description The webhook was deleted. - */ "meta/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70749,6 +73553,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70758,20 +73564,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was closed. - */ "milestone/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70788,6 +73590,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70797,20 +73601,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was created. - */ "milestone/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70827,6 +73627,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70836,20 +73638,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was deleted. - */ "milestone/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70866,6 +73664,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70875,20 +73675,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was edited. - */ "milestone/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70905,6 +73701,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70914,20 +73712,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was opened. - */ "milestone/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70944,6 +73738,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70953,20 +73749,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see "[Blocking a user from your organization](https://docs.github.com/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization)." For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#userblockedevent) or "[Blocking users](https://docs.github.com/rest/orgs/blocking)" in the REST API documentation. - * - * If you want to receive an event when members are added or removed from an organization, use the `organization` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" organization permission. - * @description A user was blocked from the organization. - */ "org-block/blocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70983,6 +73775,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70992,20 +73786,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see "[Blocking a user from your organization](https://docs.github.com/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization)." For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#userblockedevent) or "[Blocking users](https://docs.github.com/rest/orgs/blocking)" in the REST API documentation. - * - * If you want to receive an event when members are added or removed from an organization, use the `organization` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" organization permission. - * @description A previously blocked user was unblocked from the organization. - */ "org-block/unblocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71022,6 +73812,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71031,20 +73823,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization was deleted. - */ "organization/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71061,6 +73849,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71070,20 +73860,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member accepted an invitation to join an organization. - */ "organization/member-added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71100,6 +73886,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71109,20 +73897,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was invited to join the organization. - */ "organization/member-invited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71139,6 +73923,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71148,20 +73934,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was removed from the organization. - */ "organization/member-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71178,6 +73960,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71187,20 +73971,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name of an organization was changed. - */ "organization/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71217,6 +73997,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71226,18 +74008,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or "[Packages](https://docs.github.com/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A package was published to a registry. - */ "package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71254,6 +74034,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71263,18 +74045,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or "[Packages](https://docs.github.com/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A previously published package was updated. - */ "package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71291,6 +74071,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71300,17 +74082,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/rest/pages)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ "page-build": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71327,6 +74108,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71336,20 +74119,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was approved. - */ "personal-access-token-request/approved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71366,6 +74145,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71375,20 +74156,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was cancelled by the requester. - */ "personal-access-token-request/cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71405,6 +74182,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71414,20 +74193,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was created. - */ "personal-access-token-request/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71444,6 +74219,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71453,20 +74230,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was denied. - */ "personal-access-token-request/denied": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71483,6 +74256,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71492,13 +74267,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ ping: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71515,6 +74293,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71524,20 +74304,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note in a classic project was converted to an issue. - */ "project-card/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71554,6 +74330,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71563,20 +74341,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card was added to a classic project. - */ "project-card/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71593,6 +74367,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71602,20 +74378,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a classic project was deleted. - */ "project-card/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71632,6 +74404,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71641,20 +74415,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note on a classic project was edited. - */ "project-card/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71671,6 +74441,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71680,20 +74452,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a classic project was moved to another column or to another position in its column. - */ "project-card/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71710,6 +74478,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71719,20 +74489,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was closed. - */ "project/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71749,6 +74515,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71758,20 +74526,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was added to a classic project. - */ "project-column/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71788,6 +74552,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71797,20 +74563,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was deleted from a classic project. - */ "project-column/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71827,6 +74589,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71836,20 +74600,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name of a column on a classic project was changed. - */ "project-column/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71866,6 +74626,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71875,20 +74637,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. - * - * For activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was moved to a new position on a classic project. - */ "project-column/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71905,6 +74663,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71914,20 +74674,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was created. - */ "project/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71944,6 +74700,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71953,20 +74711,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was deleted. - */ "project/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71983,6 +74737,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71992,20 +74748,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name or description of a classic project was changed. - */ "project/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72022,6 +74774,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72031,20 +74785,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A classic project was closed. - */ "project/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72061,6 +74811,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72070,22 +74822,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was closed. - */ "projects-v2/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72102,6 +74848,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72111,22 +74859,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was created. - */ "projects-v2/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72143,6 +74885,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72152,22 +74896,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was deleted. - */ "projects-v2/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72184,6 +74922,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72193,22 +74933,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The title, description, or README of a project in the organization was changed. - */ "projects-v2/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72225,6 +74959,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72234,22 +74970,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - */ "projects-v2-item/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72266,6 +74996,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72275,22 +75007,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A draft issue in an organization project was converted to an issue. - */ "projects-v2-item/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72307,6 +75033,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72316,22 +75044,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item was added to a project in the organization. - */ "projects-v2-item/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72348,6 +75070,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72357,22 +75081,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item was deleted from a project in the organization. - */ "projects-v2-item/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72389,6 +75107,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72398,22 +75118,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. - */ "projects-v2-item/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72430,6 +75144,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72439,22 +75155,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. - */ "projects-v2-item/reordered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72471,6 +75181,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72480,22 +75192,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - */ "projects-v2-item/restored": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72512,6 +75218,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72521,22 +75229,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was reopened. - */ "projects-v2/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72553,6 +75255,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72562,17 +75266,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ public: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72589,6 +75292,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72598,20 +75303,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was assigned to a user. - */ "pull-request/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72628,6 +75329,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72637,20 +75340,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72667,6 +75366,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72676,20 +75377,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72706,6 +75403,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72715,20 +75414,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. - */ "pull-request/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72745,6 +75440,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72754,20 +75451,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/converted-to-draft": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72784,6 +75477,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72793,20 +75488,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was removed from a milestone. - */ "pull-request/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72823,6 +75514,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72832,20 +75525,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was removed from the merge queue. - */ "pull-request/dequeued": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72862,6 +75551,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72871,20 +75562,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The title or body of a pull request was edited. - */ "pull-request/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72901,6 +75588,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72910,20 +75599,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was added to the merge queue. - */ "pull-request/enqueued": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72940,6 +75625,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72949,20 +75636,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was added to a pull request. - */ "pull-request/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72979,6 +75662,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72988,20 +75673,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73018,6 +75699,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73027,20 +75710,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was added to a milestone. - */ "pull-request/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73057,6 +75736,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73066,20 +75747,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was created - */ "pull-request/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73096,6 +75773,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73105,20 +75784,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/ready-for-review": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73135,6 +75810,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73144,20 +75821,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously closed pull request was reopened. - */ "pull-request/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73174,6 +75847,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73183,20 +75858,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was created. - */ "pull-request-review-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73213,6 +75884,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73222,20 +75895,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was deleted. - */ "pull-request-review-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73252,6 +75921,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73261,20 +75932,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The content of a comment on a pull request diff was changed. - */ "pull-request-review-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73291,6 +75958,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73300,20 +75969,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was dismissed. - */ "pull-request-review/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73330,6 +75995,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73339,20 +76006,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The body comment on a pull request review was edited. - */ "pull-request-review/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73369,6 +76032,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73378,20 +76043,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A request for review by a person or team was removed from a pull request. - */ "pull-request/review-request-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73408,6 +76069,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73417,20 +76080,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." - */ "pull-request/review-requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73447,6 +76106,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73456,20 +76117,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was submitted. - */ "pull-request-review/submitted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73486,6 +76143,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73495,20 +76154,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment thread on a pull request was marked as resolved. - */ "pull-request-review-thread/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73525,6 +76180,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73534,20 +76191,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously resolved comment thread on a pull request was marked as unresolved. - */ "pull-request-review-thread/unresolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73564,6 +76217,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73573,20 +76228,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. - */ "pull-request/synchronize": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73603,6 +76254,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73612,20 +76265,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A user was unassigned from a pull request. - */ "pull-request/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73642,6 +76291,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73651,20 +76302,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was removed from a pull request. - */ "pull-request/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73681,6 +76328,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73690,20 +76339,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73720,6 +76365,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73729,21 +76376,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Note**: An event will not be created when more than three tags are pushed at once. - */ push: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73760,6 +76402,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73769,20 +76413,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or "[Packages](https://docs.github.com/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * **Note**: GitHub recommends that you use the newer `package` event instead. - * @description A package was published to a registry. - */ "registry-package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73799,6 +76439,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73808,20 +76450,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or "[Packages](https://docs.github.com/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * **Note**: GitHub recommends that you use the newer `package` event instead. - * @description A package that was previously published to a registry was updated. - */ "registry-package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73838,6 +76476,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73847,18 +76487,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. - */ "release/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73875,6 +76513,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73884,18 +76524,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft release was deleted. - */ "release/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73912,6 +76550,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73921,18 +76561,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." - */ "release/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73949,6 +76587,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73958,18 +76598,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. - */ "release/prereleased": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73986,6 +76624,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73995,18 +76635,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft of a release was published. - */ "release/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74023,6 +76661,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74032,18 +76672,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was published, or a pre-release was changed to a release. - */ "release/released": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74060,6 +76698,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74069,18 +76709,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release or pre-release was unpublished. - */ "release/unpublished": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74097,6 +76735,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74106,18 +76746,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Repository security advisories" permission. - * @description A repository security advisory was published. - */ "repository-advisory/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74134,6 +76772,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74143,18 +76783,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Repository security advisories" permission. - * @description A private vulnerability report was submitted. - */ "repository-advisory/reported": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74171,6 +76809,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74180,18 +76820,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was archived. - */ "repository/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74208,6 +76846,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74217,18 +76857,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was created. - */ "repository/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74245,6 +76883,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74254,18 +76894,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. - */ "repository/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74282,6 +76920,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74291,18 +76931,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event). - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - */ "repository-dispatch/sample.collected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74319,6 +76957,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74328,18 +76968,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The topics, default branch, description, or homepage of a repository was changed. - */ "repository/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74356,6 +76994,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74365,13 +77005,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when a repository is imported to GitHub. For more information, see "[Importing a repository with GitHub Importer](https://docs.github.com/get-started/importing-your-projects-to-github/importing-source-code-to-github/importing-a-repository-with-github-importer)." For more information about the API to manage imports, see [the REST API documentation](https://docs.github.com/rest/migrations/source-imports). */ "repository-import": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74388,6 +77031,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74397,18 +77042,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `private`. - */ "repository/privatized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74425,6 +77068,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74434,18 +77079,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `public`. - */ "repository/publicized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74462,6 +77105,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74471,18 +77116,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The name of a repository was changed. - */ "repository/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74499,6 +77142,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74508,20 +77153,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/rest/repos/rules)" and "[Organization rules](https://docs.github.com/rest/orgs/rules) in the REST API documentation." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A repository ruleset was created. - */ "repository-ruleset/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74538,6 +77179,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74547,20 +77190,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/rest/repos/rules)" and "[Organization rules](https://docs.github.com/rest/orgs/rules) in the REST API documentation." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A repository ruleset was deleted. - */ "repository-ruleset/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74577,6 +77216,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74586,20 +77227,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/rest/repos/rules)" and "[Organization rules](https://docs.github.com/rest/orgs/rules) in the REST API documentation." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A repository ruleset was edited. - */ "repository-ruleset/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74616,6 +77253,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74625,18 +77264,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. - */ "repository/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74653,6 +77290,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74662,18 +77301,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A previously archived repository was unarchived. - */ "repository/unarchived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74690,6 +77327,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74699,18 +77338,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was created. - */ "repository-vulnerability-alert/create": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74727,6 +77364,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74736,18 +77375,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was dismissed. - */ "repository-vulnerability-alert/dismiss": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74764,6 +77401,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74773,18 +77412,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A previously dismissed or resolved repository vulnerability alert was reopened. - */ "repository-vulnerability-alert/reopen": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74801,6 +77438,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74810,18 +77449,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was marked as resolved. - */ "repository-vulnerability-alert/resolve": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74838,6 +77475,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74847,20 +77486,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was created. - */ "secret-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74877,6 +77512,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74886,22 +77523,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. - * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. - */ "secret-scanning-alert-location/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74918,6 +77549,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74927,20 +77560,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A previously closed secret scanning alert was reopened. - */ "secret-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74957,6 +77586,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -74966,20 +77597,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was closed. - */ "secret-scanning-alert/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -74996,6 +77623,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75005,20 +77634,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was marked as revoked. - */ "secret-scanning-alert/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75035,6 +77660,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75044,18 +77671,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description A security advisory was published to the GitHub community. - */ "security-advisory/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75072,6 +77697,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75081,18 +77708,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. - */ "security-advisory/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75109,6 +77734,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75118,18 +77745,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description A previously published security advisory was withdrawn. - */ "security-advisory/withdrawn": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75146,6 +77771,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75155,17 +77782,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/code-security/getting-started/github-security-features)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ "security-and-analysis": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75182,6 +77808,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75191,20 +77819,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsorship was cancelled and the last billing cycle has ended. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75221,6 +77845,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75230,18 +77856,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. - */ "sponsorship/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75258,6 +77882,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75267,18 +77893,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. - */ "sponsorship/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75295,6 +77919,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75304,20 +77930,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/pending-cancellation": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75334,6 +77956,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75343,18 +77967,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. - */ "sponsorship/pending-tier-change": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75371,6 +77993,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75380,18 +78004,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. - */ "sponsorship/tier-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75408,6 +78030,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75417,18 +78041,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone starred a repository. - */ "star/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75445,6 +78067,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75454,18 +78078,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone unstarred the repository. - */ "star/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75482,6 +78104,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75491,17 +78115,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/rest/commits/statuses)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ status: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75518,6 +78141,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75527,20 +78152,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." - * - * For activity relating to teams, see the `teams` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ "team-add": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75557,6 +78178,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75566,19 +78189,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was granted access to a repository. - */ "team/added-to-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75595,6 +78215,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75604,19 +78226,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was created. - */ "team/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75633,6 +78252,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75642,19 +78263,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was deleted. - */ "team/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75671,6 +78289,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75680,19 +78300,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name, description, or visibility of a team was changed. - */ "team/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75709,6 +78326,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75718,19 +78337,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team's access to a repository was removed. - */ "team/removed-from-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75747,6 +78363,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75756,18 +78374,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/rest/activity/watching)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone started watching the repository. - */ "watch/started": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75784,6 +78400,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75793,19 +78411,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/actions/managing-workflow-runs/manually-running-a-workflow)." - * - * For activity relating to workflow runs, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ "workflow-dispatch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75822,6 +78437,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75831,20 +78448,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. - */ "workflow-job/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75861,6 +78474,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75870,20 +78485,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run started processing on a runner. - */ "workflow-job/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75900,6 +78511,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75909,20 +78522,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run was created. - */ "workflow-job/queued": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75939,6 +78548,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75948,20 +78559,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run was created and is waiting for approvals. - */ "workflow-job/waiting": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -75978,6 +78585,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -75987,20 +78596,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. - */ "workflow-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76017,6 +78622,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76026,20 +78633,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run started processing on a runner. - */ "workflow-run/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76056,6 +78659,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76065,20 +78670,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run was triggered. - */ "workflow-run/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -76095,6 +78696,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -76104,7 +78707,10 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; diff --git a/scripts/generate-types.js b/scripts/generate-types.js index 3a995e2..145177f 100644 --- a/scripts/generate-types.js +++ b/scripts/generate-types.js @@ -3,6 +3,8 @@ import { basename } from "node:path"; import * as prettier from "prettier"; import openapiTS from "openapi-typescript"; +import { pathToFileURL } from "node:url" +import ts from "typescript"; /* (!process.env.OCTOKIT_OPENAPI_VERSION) { throw new Error("OCTOKIT_OPENAPI_VERSION is not set"); @@ -84,10 +86,21 @@ type Repository = components["schemas"]["full-repository"] await copyFile("LICENSE", `packages/${packageName}/LICENSE`); + const generated = await openapiTS(pathToFileURL(`packages/openapi-webhooks/generated/${name}.json`)); + const sourceFile = ts.createSourceFile( + 'placeholder.ts', + '', + ts.ScriptTarget.ESNext, + true, + ts.ScriptKind.TS + ) + const printer = ts.createPrinter() + + const outputFile = printer.printList(ts.ListFormat.MultiLine, generated, sourceFile) await writeFile( `packages/${packageName}/types.d.ts`, await prettier.format( - await openapiTS(`packages/openapi-webhooks/generated/${name}.json`), + outputFile, { parser: "typescript", } From 806000ae184c4f83a6824ffa4ac437b2ce1fd4f9 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Thu, 5 Oct 2023 10:03:22 -0400 Subject: [PATCH 02/10] build: use `openapi-typescript` provided function to convert AST to string --- package-lock.json | 3 +-- package.json | 3 +-- scripts/generate-types.js | 22 +++++++--------------- 3 files changed, 9 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index c1b1468..ee42f7c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,8 +16,7 @@ "openapi-typescript": "^7.0.0-next.0", "prettier": "^3.0.0", "semantic-release": "^22.0.0", - "semantic-release-plugin-update-version-in-files": "^1.1.0", - "typescript": "^5.2.2" + "semantic-release-plugin-update-version-in-files": "^1.1.0" }, "engines": { "node": ">=16" diff --git a/package.json b/package.json index 08bcdfe..f2d7391 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,7 @@ "openapi-typescript": "^7.0.0-next.0", "prettier": "^3.0.0", "semantic-release": "^22.0.0", - "semantic-release-plugin-update-version-in-files": "^1.1.0", - "typescript": "^5.2.2" + "semantic-release-plugin-update-version-in-files": "^1.1.0" }, "engines": { "node": ">=16" diff --git a/scripts/generate-types.js b/scripts/generate-types.js index 3e7d7d0..89244a1 100644 --- a/scripts/generate-types.js +++ b/scripts/generate-types.js @@ -2,9 +2,8 @@ import { readdir, mkdir, rm, writeFile, copyFile } from "node:fs/promises"; import { basename } from "node:path"; import * as prettier from "prettier"; -import openapiTS from "openapi-typescript"; -import { pathToFileURL } from "node:url" -import ts from "typescript"; +import openapiTS, { astToString } from "openapi-typescript"; +import { pathToFileURL } from "node:url"; /* (!process.env.OCTOKIT_OPENAPI_VERSION) { throw new Error("OCTOKIT_OPENAPI_VERSION is not set"); @@ -86,21 +85,14 @@ type Repository = components["schemas"]["full-repository"] await copyFile("LICENSE", `packages/${packageName}/LICENSE`); - const generated = await openapiTS(pathToFileURL(`packages/openapi-webhooks/generated/${name}.json`)); - const sourceFile = ts.createSourceFile( - 'placeholder.ts', - '', - ts.ScriptTarget.ESNext, - true, - ts.ScriptKind.TS - ) - const printer = ts.createPrinter() - - const outputFile = printer.printList(ts.ListFormat.MultiLine, generated, sourceFile) await writeFile( `packages/${packageName}/types.d.ts`, await prettier.format( - outputFile, + astToString( + await openapiTS( + pathToFileURL(`packages/openapi-webhooks/generated/${name}.json`), + ), + ), { parser: "typescript", }, From c727aaf225cb7be894695e54281d88c0df2eedb7 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Thu, 5 Oct 2023 21:49:10 -0400 Subject: [PATCH 03/10] build: restore some things lost in the upgrade --- .../openapi-webhooks-types-ghec/types.d.ts | 767 +++++++++--------- .../types.d.ts | 719 ++++++++-------- .../types.d.ts | 719 ++++++++-------- .../types.d.ts | 719 ++++++++-------- .../types.d.ts | 719 ++++++++-------- .../types.d.ts | 711 ++++++++-------- packages/openapi-webhooks-types/types.d.ts | 767 +++++++++--------- scripts/generate-types.js | 5 +- 8 files changed, 2581 insertions(+), 2545 deletions(-) diff --git a/packages/openapi-webhooks-types-ghec/types.d.ts b/packages/openapi-webhooks-types-ghec/types.d.ts index de7614b..791d07b 100644 --- a/packages/openapi-webhooks-types-ghec/types.d.ts +++ b/packages/openapi-webhooks-types-ghec/types.d.ts @@ -1,3 +1,8 @@ +/** + * This file was auto-generated by openapi-typescript. + * Do not make direct changes to the file. + */ + export type paths = Record; export interface webhooks { "branch-protection-configuration-disabled": { @@ -5861,7 +5866,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template: boolean; + is_template?: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -5888,7 +5893,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; /** * @description Whether the repository is archived. * @default false @@ -5900,7 +5905,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility: string; + visibility?: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -5911,7 +5916,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; template_repository?: { id?: number; node_id?: string; @@ -6061,28 +6066,28 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch: boolean; + allow_update_branch?: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** * @description The default value for a squash merge commit title: * @@ -6121,14 +6126,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required: boolean; + web_commit_signoff_required?: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -13118,24 +13123,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -13171,7 +13176,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -21071,24 +21076,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -21124,7 +21129,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -23278,24 +23283,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -23331,7 +23336,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30099,24 +30104,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30152,7 +30157,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30366,7 +30371,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30442,24 +30447,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30495,7 +30500,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30709,7 +30714,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31309,24 +31314,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31362,7 +31367,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31576,7 +31581,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31652,24 +31657,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31705,7 +31710,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31919,7 +31924,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32520,24 +32525,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32573,7 +32578,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32787,7 +32792,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32863,24 +32868,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32916,7 +32921,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33130,7 +33135,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33534,14 +33539,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -33576,7 +33581,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -33595,14 +33600,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -33637,7 +33642,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -33854,24 +33859,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33907,7 +33912,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34121,7 +34126,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -34197,24 +34202,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34250,7 +34255,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34464,7 +34469,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35064,24 +35069,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35117,7 +35122,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35331,7 +35336,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35407,24 +35412,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35460,7 +35465,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35674,7 +35679,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36097,14 +36102,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -36139,7 +36144,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender?: components["schemas"]["simple-user-webhooks"]; @@ -36355,24 +36360,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36408,7 +36413,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36622,7 +36627,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36698,24 +36703,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36751,7 +36756,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36965,7 +36970,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37582,24 +37587,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37635,7 +37640,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37849,7 +37854,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37925,24 +37930,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37978,7 +37983,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38192,7 +38197,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38793,24 +38798,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38846,7 +38851,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39060,7 +39065,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39136,24 +39141,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39189,7 +39194,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39403,7 +39408,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -40004,24 +40009,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40057,7 +40062,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40271,7 +40276,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -40347,24 +40352,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40400,7 +40405,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40614,7 +40619,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41017,14 +41022,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -41059,7 +41064,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -41078,14 +41083,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -41120,7 +41125,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -41139,14 +41144,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -41181,7 +41186,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -41547,24 +41552,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41600,7 +41605,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41814,7 +41819,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41883,24 +41888,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41936,7 +41941,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41985,7 +41990,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; homepage: string | null; /** Format: uri */ hooks_url: string; @@ -42150,7 +42155,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42849,24 +42854,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42902,7 +42907,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43116,7 +43121,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -43185,24 +43190,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43238,7 +43243,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43452,7 +43457,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44158,24 +44163,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44211,7 +44216,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44425,7 +44430,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44494,24 +44499,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44547,7 +44552,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44761,7 +44766,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45308,24 +45313,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45361,7 +45366,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45575,7 +45580,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45644,24 +45649,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45697,7 +45702,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45911,7 +45916,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46545,24 +46550,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46598,7 +46603,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46832,24 +46837,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46885,7 +46890,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47681,24 +47686,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47734,7 +47739,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47941,7 +47946,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -48017,24 +48022,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48070,7 +48075,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48284,7 +48289,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -48921,24 +48926,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48974,7 +48979,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49188,7 +49193,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -49264,24 +49269,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49317,7 +49322,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49531,7 +49536,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -50188,24 +50193,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50241,7 +50246,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50455,7 +50460,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -50531,24 +50536,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50584,7 +50589,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50798,7 +50803,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -51435,24 +51440,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51488,7 +51493,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51702,7 +51707,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -51778,24 +51783,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51831,7 +51836,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52045,7 +52050,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -52698,24 +52703,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52751,7 +52756,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52965,7 +52970,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53034,24 +53039,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53087,7 +53092,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53301,7 +53306,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53928,24 +53933,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53981,7 +53986,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54222,24 +54227,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54275,7 +54280,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -55146,24 +55151,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -55199,7 +55204,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -55440,24 +55445,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -55493,7 +55498,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56369,24 +56374,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -56422,7 +56427,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56636,7 +56641,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -56712,24 +56717,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -56765,7 +56770,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56972,7 +56977,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -57610,24 +57615,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -57663,7 +57668,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -57877,7 +57882,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -57953,24 +57958,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -58006,7 +58011,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -58220,7 +58225,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -58837,24 +58842,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -58890,7 +58895,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59104,7 +59109,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -59180,24 +59185,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59233,7 +59238,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59440,7 +59445,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -60041,24 +60046,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -60094,7 +60099,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -60308,7 +60313,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -60384,24 +60389,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -60437,7 +60442,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -60651,7 +60656,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -61184,24 +61189,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -61237,7 +61242,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -64823,7 +64828,7 @@ export interface components { * @description Whether anonymous git access is allowed. * @default true */ - anonymous_access_enabled: boolean; + anonymous_access_enabled?: boolean; code_of_conduct?: components["schemas"]["code-of-conduct-simple"]; security_and_analysis?: components["schemas"]["security-and-analysis"]; }; @@ -64931,7 +64936,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template: boolean; + is_template?: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -64959,7 +64964,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; /** * @description Whether the repository is archived. * @default false @@ -64971,7 +64976,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility: string; + visibility?: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -64982,7 +64987,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; template_repository?: { id?: number; node_id?: string; @@ -65132,28 +65137,28 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch: boolean; + allow_update_branch?: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** * @description The default value for a squash merge commit title: * @@ -65192,14 +65197,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required: boolean; + web_commit_signoff_required?: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -66317,24 +66322,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -66370,7 +66375,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -66630,24 +66635,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -66683,7 +66688,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -66943,24 +66948,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -66996,7 +67001,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -67287,24 +67292,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -67340,7 +67345,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -67600,24 +67605,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -67653,7 +67658,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; diff --git a/packages/openapi-webhooks-types-ghes-3.10/types.d.ts b/packages/openapi-webhooks-types-ghes-3.10/types.d.ts index 83f403c..1e71dca 100644 --- a/packages/openapi-webhooks-types-ghes-3.10/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.10/types.d.ts @@ -1,3 +1,8 @@ +/** + * This file was auto-generated by openapi-typescript. + * Do not make direct changes to the file. + */ + export type paths = Record; export interface webhooks { "branch-protection-rule-created": { @@ -5547,7 +5552,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template: boolean; + is_template?: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -5574,7 +5579,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; /** * @description Whether the repository is archived. * @default false @@ -5586,7 +5591,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility: string; + visibility?: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -5597,7 +5602,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; template_repository?: { id?: number; node_id?: string; @@ -5747,28 +5752,28 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch: boolean; + allow_update_branch?: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** * @description The default value for a squash merge commit title: * @@ -5807,14 +5812,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required: boolean; + web_commit_signoff_required?: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -12721,24 +12726,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -12774,7 +12779,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -20673,24 +20678,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -20726,7 +20731,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -22880,24 +22885,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -22933,7 +22938,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29109,24 +29114,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29162,7 +29167,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29376,7 +29381,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -29452,24 +29457,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29505,7 +29510,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29719,7 +29724,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30319,24 +30324,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30372,7 +30377,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30586,7 +30591,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30662,24 +30667,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30715,7 +30720,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30929,7 +30934,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31530,24 +31535,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31583,7 +31588,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31797,7 +31802,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31873,24 +31878,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31926,7 +31931,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32140,7 +32145,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32544,14 +32549,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -32586,7 +32591,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -32605,14 +32610,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -32647,7 +32652,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -32864,24 +32869,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32917,7 +32922,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33131,7 +33136,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33207,24 +33212,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33260,7 +33265,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33474,7 +33479,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33896,14 +33901,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -33938,7 +33943,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender?: components["schemas"]["simple-user-webhooks"]; @@ -34171,24 +34176,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34224,7 +34229,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34438,7 +34443,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -34514,24 +34519,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34567,7 +34572,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34781,7 +34786,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35382,24 +35387,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35435,7 +35440,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35649,7 +35654,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35725,24 +35730,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35778,7 +35783,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35992,7 +35997,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36593,24 +36598,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36646,7 +36651,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36860,7 +36865,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36936,24 +36941,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36989,7 +36994,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37203,7 +37208,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37606,14 +37611,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -37648,7 +37653,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -37667,14 +37672,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -37709,7 +37714,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -37728,14 +37733,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -37770,7 +37775,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -38136,24 +38141,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38189,7 +38194,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38403,7 +38408,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38472,24 +38477,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38525,7 +38530,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38574,7 +38579,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; homepage: string | null; /** Format: uri */ hooks_url: string; @@ -38739,7 +38744,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39438,24 +39443,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39491,7 +39496,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39705,7 +39710,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39774,24 +39779,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39827,7 +39832,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40041,7 +40046,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -40747,24 +40752,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40800,7 +40805,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41014,7 +41019,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41083,24 +41088,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41136,7 +41141,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41350,7 +41355,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41897,24 +41902,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41950,7 +41955,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42164,7 +42169,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42233,24 +42238,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42286,7 +42291,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42500,7 +42505,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -43134,24 +43139,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43187,7 +43192,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43421,24 +43426,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43474,7 +43479,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44270,24 +44275,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44323,7 +44328,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44530,7 +44535,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44606,24 +44611,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44659,7 +44664,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44873,7 +44878,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45510,24 +45515,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45563,7 +45568,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45777,7 +45782,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45853,24 +45858,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45906,7 +45911,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46120,7 +46125,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46777,24 +46782,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46830,7 +46835,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47044,7 +47049,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -47120,24 +47125,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47173,7 +47178,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47387,7 +47392,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -48024,24 +48029,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48077,7 +48082,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48291,7 +48296,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -48367,24 +48372,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48420,7 +48425,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48634,7 +48639,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -49287,24 +49292,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49340,7 +49345,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49554,7 +49559,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -49623,24 +49628,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49676,7 +49681,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49890,7 +49895,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -50517,24 +50522,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50570,7 +50575,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50811,24 +50816,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50864,7 +50869,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51735,24 +51740,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51788,7 +51793,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52029,24 +52034,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52082,7 +52087,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52958,24 +52963,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53011,7 +53016,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53225,7 +53230,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53301,24 +53306,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53354,7 +53359,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53561,7 +53566,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -54199,24 +54204,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54252,7 +54257,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54466,7 +54471,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -54542,24 +54547,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54595,7 +54600,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54809,7 +54814,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -55426,24 +55431,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -55479,7 +55484,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -55693,7 +55698,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -55769,24 +55774,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -55822,7 +55827,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56029,7 +56034,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -56630,24 +56635,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -56683,7 +56688,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56897,7 +56902,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -56973,24 +56978,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -57026,7 +57031,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -57240,7 +57245,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -57773,24 +57778,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -57826,7 +57831,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -60629,7 +60634,7 @@ export interface components { * @description Whether anonymous git access is allowed. * @default true */ - anonymous_access_enabled: boolean; + anonymous_access_enabled?: boolean; code_of_conduct?: components["schemas"]["code-of-conduct-simple"]; security_and_analysis?: components["schemas"]["security-and-analysis"]; }; @@ -60737,7 +60742,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template: boolean; + is_template?: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -60765,7 +60770,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; /** * @description Whether the repository is archived. * @default false @@ -60777,7 +60782,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility: string; + visibility?: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -60788,7 +60793,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; template_repository?: { id?: number; node_id?: string; @@ -60938,28 +60943,28 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch: boolean; + allow_update_branch?: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** * @description The default value for a squash merge commit title: * @@ -60998,14 +61003,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required: boolean; + web_commit_signoff_required?: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -62123,24 +62128,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -62176,7 +62181,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -62436,24 +62441,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -62489,7 +62494,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -62749,24 +62754,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -62802,7 +62807,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -63093,24 +63098,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -63146,7 +63151,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -63406,24 +63411,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -63459,7 +63464,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; diff --git a/packages/openapi-webhooks-types-ghes-3.7/types.d.ts b/packages/openapi-webhooks-types-ghes-3.7/types.d.ts index 5fbcb77..e1f0307 100644 --- a/packages/openapi-webhooks-types-ghes-3.7/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.7/types.d.ts @@ -1,3 +1,8 @@ +/** + * This file was auto-generated by openapi-typescript. + * Do not make direct changes to the file. + */ + export type paths = Record; export interface webhooks { "branch-protection-rule-created": { @@ -5221,7 +5226,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template: boolean; + is_template?: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -5248,7 +5253,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; /** * @description Whether the repository is archived. * @default false @@ -5260,7 +5265,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility: string; + visibility?: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -5271,7 +5276,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; template_repository?: { id?: number; node_id?: string; @@ -5421,28 +5426,28 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch: boolean; + allow_update_branch?: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** * @description The default value for a squash merge commit title: * @@ -5481,14 +5486,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required: boolean; + web_commit_signoff_required?: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -11734,24 +11739,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -11787,7 +11792,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -19676,24 +19681,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -19729,7 +19734,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -21883,24 +21888,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -21936,7 +21941,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -27894,24 +27899,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -27947,7 +27952,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28161,7 +28166,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -28237,24 +28242,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -28290,7 +28295,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28504,7 +28509,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -29104,24 +29109,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29157,7 +29162,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29371,7 +29376,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -29447,24 +29452,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29500,7 +29505,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29714,7 +29719,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30315,24 +30320,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30368,7 +30373,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30582,7 +30587,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30658,24 +30663,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30711,7 +30716,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30925,7 +30930,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31329,14 +31334,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -31371,7 +31376,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -31941,14 +31946,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -31983,7 +31988,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -32200,24 +32205,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32253,7 +32258,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32467,7 +32472,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32543,24 +32548,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32596,7 +32601,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32810,7 +32815,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33232,14 +33237,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -33274,7 +33279,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender?: components["schemas"]["simple-user-webhooks"]; @@ -33507,24 +33512,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33560,7 +33565,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33774,7 +33779,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33850,24 +33855,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33903,7 +33908,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34117,7 +34122,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -34718,24 +34723,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34771,7 +34776,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34985,7 +34990,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35061,24 +35066,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35114,7 +35119,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35328,7 +35333,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35929,24 +35934,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35982,7 +35987,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36196,7 +36201,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36272,24 +36277,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36325,7 +36330,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36539,7 +36544,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36942,14 +36947,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -36984,7 +36989,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -37003,14 +37008,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -37045,7 +37050,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -37064,14 +37069,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -37106,7 +37111,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -37472,24 +37477,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37525,7 +37530,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37739,7 +37744,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37808,24 +37813,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37861,7 +37866,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37910,7 +37915,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; homepage: string | null; /** Format: uri */ hooks_url: string; @@ -38075,7 +38080,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38774,24 +38779,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38827,7 +38832,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39041,7 +39046,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39110,24 +39115,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39163,7 +39168,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39377,7 +39382,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -40083,24 +40088,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40136,7 +40141,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40350,7 +40355,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -40419,24 +40424,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40472,7 +40477,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40686,7 +40691,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41233,24 +41238,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41286,7 +41291,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41500,7 +41505,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41569,24 +41574,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41622,7 +41627,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41836,7 +41841,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42470,24 +42475,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42523,7 +42528,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42757,24 +42762,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42810,7 +42815,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43606,24 +43611,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43659,7 +43664,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43866,7 +43871,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -43942,24 +43947,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43995,7 +44000,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44209,7 +44214,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44846,24 +44851,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44899,7 +44904,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45113,7 +45118,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45189,24 +45194,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45242,7 +45247,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45456,7 +45461,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46113,24 +46118,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46166,7 +46171,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46380,7 +46385,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46456,24 +46461,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46509,7 +46514,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46723,7 +46728,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -47360,24 +47365,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47413,7 +47418,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47627,7 +47632,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -47703,24 +47708,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47756,7 +47761,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47970,7 +47975,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -48623,24 +48628,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48676,7 +48681,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48890,7 +48895,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -48959,24 +48964,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49012,7 +49017,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49226,7 +49231,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -49853,24 +49858,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49906,7 +49911,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50147,24 +50152,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50200,7 +50205,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51071,24 +51076,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51124,7 +51129,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51365,24 +51370,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51418,7 +51423,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52294,24 +52299,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52347,7 +52352,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52561,7 +52566,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -52637,24 +52642,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52690,7 +52695,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52897,7 +52902,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53535,24 +53540,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53588,7 +53593,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53802,7 +53807,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53878,24 +53883,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53931,7 +53936,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54145,7 +54150,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -54762,24 +54767,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54815,7 +54820,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -55029,7 +55034,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -55105,24 +55110,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -55158,7 +55163,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -55365,7 +55370,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -55966,24 +55971,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -56019,7 +56024,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56233,7 +56238,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -56309,24 +56314,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -56362,7 +56367,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56576,7 +56581,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -57109,24 +57114,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -57162,7 +57167,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59945,7 +59950,7 @@ export interface components { * @description Whether anonymous git access is allowed. * @default true */ - anonymous_access_enabled: boolean; + anonymous_access_enabled?: boolean; code_of_conduct?: components["schemas"]["code-of-conduct-simple"]; security_and_analysis?: components["schemas"]["security-and-analysis"]; }; @@ -60053,7 +60058,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template: boolean; + is_template?: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -60081,7 +60086,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; /** * @description Whether the repository is archived. * @default false @@ -60093,7 +60098,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility: string; + visibility?: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -60104,7 +60109,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; template_repository?: { id?: number; node_id?: string; @@ -60254,28 +60259,28 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch: boolean; + allow_update_branch?: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** * @description The default value for a squash merge commit title: * @@ -60314,14 +60319,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required: boolean; + web_commit_signoff_required?: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -61425,24 +61430,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -61478,7 +61483,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -61724,24 +61729,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -61777,7 +61782,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -62023,24 +62028,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -62076,7 +62081,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -62349,24 +62354,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -62402,7 +62407,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -62648,24 +62653,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -62701,7 +62706,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; diff --git a/packages/openapi-webhooks-types-ghes-3.8/types.d.ts b/packages/openapi-webhooks-types-ghes-3.8/types.d.ts index 84c6492..2025a38 100644 --- a/packages/openapi-webhooks-types-ghes-3.8/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.8/types.d.ts @@ -1,3 +1,8 @@ +/** + * This file was auto-generated by openapi-typescript. + * Do not make direct changes to the file. + */ + export type paths = Record; export interface webhooks { "branch-protection-rule-created": { @@ -5245,7 +5250,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template: boolean; + is_template?: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -5272,7 +5277,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; /** * @description Whether the repository is archived. * @default false @@ -5284,7 +5289,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility: string; + visibility?: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -5295,7 +5300,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; template_repository?: { id?: number; node_id?: string; @@ -5445,28 +5450,28 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch: boolean; + allow_update_branch?: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** * @description The default value for a squash merge commit title: * @@ -5505,14 +5510,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required: boolean; + web_commit_signoff_required?: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -11758,24 +11763,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -11811,7 +11816,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -19705,24 +19710,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -19758,7 +19763,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -21912,24 +21917,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -21965,7 +21970,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -27923,24 +27928,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -27976,7 +27981,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28190,7 +28195,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -28266,24 +28271,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -28319,7 +28324,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28533,7 +28538,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -29133,24 +29138,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29186,7 +29191,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29400,7 +29405,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -29476,24 +29481,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29529,7 +29534,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29743,7 +29748,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30344,24 +30349,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30397,7 +30402,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30611,7 +30616,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30687,24 +30692,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30740,7 +30745,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30954,7 +30959,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31358,14 +31363,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -31400,7 +31405,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -31970,14 +31975,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -32012,7 +32017,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -32229,24 +32234,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32282,7 +32287,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32496,7 +32501,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32572,24 +32577,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32625,7 +32630,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32839,7 +32844,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33261,14 +33266,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -33303,7 +33308,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender?: components["schemas"]["simple-user-webhooks"]; @@ -33536,24 +33541,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33589,7 +33594,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33803,7 +33808,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33879,24 +33884,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33932,7 +33937,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34146,7 +34151,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -34747,24 +34752,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34800,7 +34805,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35014,7 +35019,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35090,24 +35095,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35143,7 +35148,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35357,7 +35362,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35958,24 +35963,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36011,7 +36016,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36225,7 +36230,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36301,24 +36306,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36354,7 +36359,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36568,7 +36573,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36971,14 +36976,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -37013,7 +37018,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -37032,14 +37037,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -37074,7 +37079,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -37093,14 +37098,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -37135,7 +37140,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -37501,24 +37506,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37554,7 +37559,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37768,7 +37773,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37837,24 +37842,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37890,7 +37895,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37939,7 +37944,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; homepage: string | null; /** Format: uri */ hooks_url: string; @@ -38104,7 +38109,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38803,24 +38808,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38856,7 +38861,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39070,7 +39075,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39139,24 +39144,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39192,7 +39197,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39406,7 +39411,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -40112,24 +40117,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40165,7 +40170,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40379,7 +40384,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -40448,24 +40453,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40501,7 +40506,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40715,7 +40720,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41262,24 +41267,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41315,7 +41320,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41529,7 +41534,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41598,24 +41603,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41651,7 +41656,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41865,7 +41870,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42499,24 +42504,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42552,7 +42557,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42786,24 +42791,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42839,7 +42844,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43635,24 +43640,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43688,7 +43693,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43895,7 +43900,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -43971,24 +43976,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44024,7 +44029,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44238,7 +44243,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44875,24 +44880,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44928,7 +44933,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45142,7 +45147,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45218,24 +45223,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45271,7 +45276,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45485,7 +45490,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46142,24 +46147,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46195,7 +46200,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46409,7 +46414,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46485,24 +46490,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46538,7 +46543,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46752,7 +46757,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -47389,24 +47394,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47442,7 +47447,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47656,7 +47661,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -47732,24 +47737,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47785,7 +47790,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47999,7 +48004,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -48652,24 +48657,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48705,7 +48710,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48919,7 +48924,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -48988,24 +48993,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49041,7 +49046,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49255,7 +49260,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -49882,24 +49887,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49935,7 +49940,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50176,24 +50181,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50229,7 +50234,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51100,24 +51105,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51153,7 +51158,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51394,24 +51399,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51447,7 +51452,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52323,24 +52328,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52376,7 +52381,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52590,7 +52595,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -52666,24 +52671,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52719,7 +52724,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52926,7 +52931,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53564,24 +53569,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53617,7 +53622,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53831,7 +53836,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53907,24 +53912,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53960,7 +53965,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54174,7 +54179,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -54791,24 +54796,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54844,7 +54849,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -55058,7 +55063,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -55134,24 +55139,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -55187,7 +55192,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -55394,7 +55399,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -55995,24 +56000,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -56048,7 +56053,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56262,7 +56267,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -56338,24 +56343,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -56391,7 +56396,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56605,7 +56610,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -57138,24 +57143,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -57191,7 +57196,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -60004,7 +60009,7 @@ export interface components { * @description Whether anonymous git access is allowed. * @default true */ - anonymous_access_enabled: boolean; + anonymous_access_enabled?: boolean; code_of_conduct?: components["schemas"]["code-of-conduct-simple"]; security_and_analysis?: components["schemas"]["security-and-analysis"]; }; @@ -60112,7 +60117,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template: boolean; + is_template?: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -60140,7 +60145,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; /** * @description Whether the repository is archived. * @default false @@ -60152,7 +60157,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility: string; + visibility?: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -60163,7 +60168,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; template_repository?: { id?: number; node_id?: string; @@ -60313,28 +60318,28 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch: boolean; + allow_update_branch?: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** * @description The default value for a squash merge commit title: * @@ -60373,14 +60378,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required: boolean; + web_commit_signoff_required?: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -61484,24 +61489,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -61537,7 +61542,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -61783,24 +61788,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -61836,7 +61841,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -62082,24 +62087,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -62135,7 +62140,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -62408,24 +62413,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -62461,7 +62466,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -62707,24 +62712,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -62760,7 +62765,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; diff --git a/packages/openapi-webhooks-types-ghes-3.9/types.d.ts b/packages/openapi-webhooks-types-ghes-3.9/types.d.ts index a985fa5..d54ab65 100644 --- a/packages/openapi-webhooks-types-ghes-3.9/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.9/types.d.ts @@ -1,3 +1,8 @@ +/** + * This file was auto-generated by openapi-typescript. + * Do not make direct changes to the file. + */ + export type paths = Record; export interface webhooks { "branch-protection-rule-created": { @@ -5427,7 +5432,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template: boolean; + is_template?: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -5454,7 +5459,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; /** * @description Whether the repository is archived. * @default false @@ -5466,7 +5471,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility: string; + visibility?: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -5477,7 +5482,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; template_repository?: { id?: number; node_id?: string; @@ -5627,28 +5632,28 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch: boolean; + allow_update_branch?: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** * @description The default value for a squash merge commit title: * @@ -5687,14 +5692,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required: boolean; + web_commit_signoff_required?: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -11977,24 +11982,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -12030,7 +12035,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -19929,24 +19934,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -19982,7 +19987,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -22136,24 +22141,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -22189,7 +22194,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28234,24 +28239,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -28287,7 +28292,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28501,7 +28506,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -28577,24 +28582,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -28630,7 +28635,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28844,7 +28849,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -29444,24 +29449,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29497,7 +29502,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29711,7 +29716,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -29787,24 +29792,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29840,7 +29845,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30054,7 +30059,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30655,24 +30660,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30708,7 +30713,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30922,7 +30927,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30998,24 +31003,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31051,7 +31056,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31265,7 +31270,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31669,14 +31674,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -31711,7 +31716,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -32281,14 +32286,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -32323,7 +32328,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -32540,24 +32545,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32593,7 +32598,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32807,7 +32812,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32883,24 +32888,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32936,7 +32941,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33150,7 +33155,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33572,14 +33577,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -33614,7 +33619,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender?: components["schemas"]["simple-user-webhooks"]; @@ -33847,24 +33852,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33900,7 +33905,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34114,7 +34119,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -34190,24 +34195,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34243,7 +34248,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34457,7 +34462,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35058,24 +35063,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35111,7 +35116,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35325,7 +35330,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35401,24 +35406,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35454,7 +35459,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35668,7 +35673,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36269,24 +36274,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36322,7 +36327,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36536,7 +36541,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36612,24 +36617,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36665,7 +36670,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36879,7 +36884,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37282,14 +37287,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -37324,7 +37329,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -37343,14 +37348,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -37385,7 +37390,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -37404,14 +37409,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -37446,7 +37451,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -37812,24 +37817,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37865,7 +37870,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38079,7 +38084,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38148,24 +38153,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38201,7 +38206,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38250,7 +38255,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; homepage: string | null; /** Format: uri */ hooks_url: string; @@ -38415,7 +38420,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39114,24 +39119,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39167,7 +39172,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39381,7 +39386,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39450,24 +39455,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39503,7 +39508,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39717,7 +39722,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -40423,24 +40428,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40476,7 +40481,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40690,7 +40695,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -40759,24 +40764,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40812,7 +40817,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41026,7 +41031,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41573,24 +41578,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41626,7 +41631,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41840,7 +41845,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41909,24 +41914,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41962,7 +41967,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42176,7 +42181,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42810,24 +42815,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42863,7 +42868,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43097,24 +43102,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43150,7 +43155,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43946,24 +43951,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43999,7 +44004,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44206,7 +44211,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44282,24 +44287,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44335,7 +44340,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44549,7 +44554,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45186,24 +45191,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45239,7 +45244,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45453,7 +45458,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45529,24 +45534,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45582,7 +45587,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45796,7 +45801,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46453,24 +46458,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46506,7 +46511,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46720,7 +46725,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46796,24 +46801,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46849,7 +46854,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47063,7 +47068,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -47700,24 +47705,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47753,7 +47758,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47967,7 +47972,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -48043,24 +48048,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48096,7 +48101,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48310,7 +48315,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -48963,24 +48968,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49016,7 +49021,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49230,7 +49235,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -49299,24 +49304,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49352,7 +49357,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49566,7 +49571,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -50193,24 +50198,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50246,7 +50251,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50487,24 +50492,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50540,7 +50545,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51411,24 +51416,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51464,7 +51469,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51705,24 +51710,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51758,7 +51763,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52634,24 +52639,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52687,7 +52692,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52901,7 +52906,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -52977,24 +52982,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53030,7 +53035,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53237,7 +53242,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53875,24 +53880,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53928,7 +53933,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54142,7 +54147,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -54218,24 +54223,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54271,7 +54276,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54485,7 +54490,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -55102,24 +55107,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -55155,7 +55160,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -55369,7 +55374,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -55445,24 +55450,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -55498,7 +55503,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -55705,7 +55710,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -56306,24 +56311,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -56359,7 +56364,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56573,7 +56578,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -56649,24 +56654,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -56702,7 +56707,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56916,7 +56921,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -57449,24 +57454,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -57502,7 +57507,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -60305,7 +60310,7 @@ export interface components { * @description Whether anonymous git access is allowed. * @default true */ - anonymous_access_enabled: boolean; + anonymous_access_enabled?: boolean; code_of_conduct?: components["schemas"]["code-of-conduct-simple"]; security_and_analysis?: components["schemas"]["security-and-analysis"]; }; @@ -60413,7 +60418,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template: boolean; + is_template?: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -60441,7 +60446,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; /** * @description Whether the repository is archived. * @default false @@ -60453,7 +60458,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility: string; + visibility?: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -60464,7 +60469,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; template_repository?: { id?: number; node_id?: string; @@ -60614,28 +60619,28 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch: boolean; + allow_update_branch?: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** * @description The default value for a squash merge commit title: * @@ -60674,14 +60679,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required: boolean; + web_commit_signoff_required?: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -61785,24 +61790,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -61838,7 +61843,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -62084,24 +62089,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -62137,7 +62142,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -62383,24 +62388,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -62436,7 +62441,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -62709,24 +62714,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -62762,7 +62767,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -63008,24 +63013,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -63061,7 +63066,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; diff --git a/packages/openapi-webhooks-types-github.ae/types.d.ts b/packages/openapi-webhooks-types-github.ae/types.d.ts index be63936..209e50f 100644 --- a/packages/openapi-webhooks-types-github.ae/types.d.ts +++ b/packages/openapi-webhooks-types-github.ae/types.d.ts @@ -1,3 +1,8 @@ +/** + * This file was auto-generated by openapi-typescript. + * Do not make direct changes to the file. + */ + export type paths = Record; export interface webhooks { "branch-protection-rule-created": { @@ -5034,7 +5039,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template: boolean; + is_template?: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -5068,7 +5073,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility: string; + visibility?: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -5079,7 +5084,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; template_repository?: { id?: number; node_id?: string; @@ -5194,34 +5199,34 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch: boolean; + allow_update_branch?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required: boolean; + web_commit_signoff_required?: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -12107,24 +12112,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -12160,7 +12165,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -20050,24 +20055,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -20103,7 +20108,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -22257,24 +22262,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -22310,7 +22315,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28249,24 +28254,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -28302,7 +28307,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28516,7 +28521,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -28592,24 +28597,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -28645,7 +28650,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -28859,7 +28864,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -29459,24 +29464,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29512,7 +29517,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29726,7 +29731,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -29802,24 +29807,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29855,7 +29860,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30069,7 +30074,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30670,24 +30675,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30723,7 +30728,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30937,7 +30942,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31013,24 +31018,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31066,7 +31071,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31280,7 +31285,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31684,14 +31689,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -31726,7 +31731,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -31745,14 +31750,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -31787,7 +31792,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -32004,24 +32009,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32057,7 +32062,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32271,7 +32276,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32347,24 +32352,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32400,7 +32405,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32614,7 +32619,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33036,14 +33041,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -33078,7 +33083,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender?: components["schemas"]["simple-user-webhooks"]; @@ -33311,24 +33316,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33364,7 +33369,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33578,7 +33583,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33654,24 +33659,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33707,7 +33712,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33921,7 +33926,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -34522,24 +34527,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34575,7 +34580,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34789,7 +34794,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -34865,24 +34870,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34918,7 +34923,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35132,7 +35137,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35733,24 +35738,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35786,7 +35791,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36000,7 +36005,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36076,24 +36081,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36129,7 +36134,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36343,7 +36348,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36746,14 +36751,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -36788,7 +36793,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -36807,14 +36812,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -36849,7 +36854,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -36868,14 +36873,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -36910,7 +36915,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -37276,24 +37281,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37329,7 +37334,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37543,7 +37548,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37612,24 +37617,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37665,7 +37670,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37714,7 +37719,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; homepage: string | null; /** Format: uri */ hooks_url: string; @@ -37879,7 +37884,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38578,24 +38583,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38631,7 +38636,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38845,7 +38850,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38914,24 +38919,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38967,7 +38972,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39181,7 +39186,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39887,24 +39892,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39940,7 +39945,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40154,7 +40159,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -40223,24 +40228,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40276,7 +40281,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40490,7 +40495,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41037,24 +41042,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41090,7 +41095,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41304,7 +41309,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41373,24 +41378,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41426,7 +41431,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41640,7 +41645,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42274,24 +42279,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42327,7 +42332,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42561,24 +42566,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42614,7 +42619,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43410,24 +43415,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43463,7 +43468,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43670,7 +43675,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -43746,24 +43751,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43799,7 +43804,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44013,7 +44018,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44650,24 +44655,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44703,7 +44708,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44917,7 +44922,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44993,24 +44998,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45046,7 +45051,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45260,7 +45265,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45917,24 +45922,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45970,7 +45975,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46184,7 +46189,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46260,24 +46265,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46313,7 +46318,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46527,7 +46532,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -47164,24 +47169,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47217,7 +47222,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47431,7 +47436,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -47507,24 +47512,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47560,7 +47565,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47774,7 +47779,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -48427,24 +48432,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48480,7 +48485,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48694,7 +48699,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -48763,24 +48768,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48816,7 +48821,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49030,7 +49035,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -49657,24 +49662,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49710,7 +49715,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49951,24 +49956,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50004,7 +50009,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50875,24 +50880,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50928,7 +50933,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51169,24 +51174,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51222,7 +51227,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52098,24 +52103,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52151,7 +52156,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52365,7 +52370,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -52441,24 +52446,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52494,7 +52499,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52701,7 +52706,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53339,24 +53344,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53392,7 +53397,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53606,7 +53611,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53682,24 +53687,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53735,7 +53740,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53949,7 +53954,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -54566,24 +54571,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54619,7 +54624,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54833,7 +54838,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -54909,24 +54914,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54962,7 +54967,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -55169,7 +55174,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -55770,24 +55775,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -55823,7 +55828,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56037,7 +56042,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -56113,24 +56118,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -56166,7 +56171,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56380,7 +56385,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -56913,24 +56918,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -56966,7 +56971,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59210,7 +59215,7 @@ export interface components { * @description Whether anonymous git access is allowed. * @default true */ - anonymous_access_enabled: boolean; + anonymous_access_enabled?: boolean; code_of_conduct?: components["schemas"]["code-of-conduct-simple"]; security_and_analysis?: components["schemas"]["security-and-analysis"]; }; @@ -59318,7 +59323,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template: boolean; + is_template?: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -59353,7 +59358,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility: string; + visibility?: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -59364,7 +59369,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; template_repository?: { id?: number; node_id?: string; @@ -59479,34 +59484,34 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch: boolean; + allow_update_branch?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required: boolean; + web_commit_signoff_required?: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -60624,24 +60629,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -60677,7 +60682,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -60937,24 +60942,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -60990,7 +60995,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -61250,24 +61255,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -61303,7 +61308,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -61594,24 +61599,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -61647,7 +61652,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -61907,24 +61912,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -61960,7 +61965,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; diff --git a/packages/openapi-webhooks-types/types.d.ts b/packages/openapi-webhooks-types/types.d.ts index 3f20326..f1ee3ae 100644 --- a/packages/openapi-webhooks-types/types.d.ts +++ b/packages/openapi-webhooks-types/types.d.ts @@ -1,3 +1,8 @@ +/** + * This file was auto-generated by openapi-typescript. + * Do not make direct changes to the file. + */ + export type paths = Record; export interface webhooks { "branch-protection-configuration-disabled": { @@ -5789,7 +5794,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template: boolean; + is_template?: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -5816,7 +5821,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; /** * @description Whether the repository is archived. * @default false @@ -5828,7 +5833,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility: string; + visibility?: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -5839,7 +5844,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; template_repository?: { id?: number; node_id?: string; @@ -5989,28 +5994,28 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch: boolean; + allow_update_branch?: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** * @description The default value for a squash merge commit title: * @@ -6049,14 +6054,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required: boolean; + web_commit_signoff_required?: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -12998,24 +13003,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -13051,7 +13056,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -20930,24 +20935,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -20983,7 +20988,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -23134,24 +23139,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -23187,7 +23192,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -29905,24 +29910,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -29958,7 +29963,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30172,7 +30177,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -30248,24 +30253,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -30301,7 +30306,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -30515,7 +30520,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31114,24 +31119,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31167,7 +31172,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31381,7 +31386,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -31457,24 +31462,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -31510,7 +31515,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -31724,7 +31729,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32324,24 +32329,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32377,7 +32382,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32591,7 +32596,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -32667,24 +32672,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -32720,7 +32725,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -32934,7 +32939,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33337,14 +33342,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -33379,7 +33384,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -33397,14 +33402,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -33439,7 +33444,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -33655,24 +33660,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -33708,7 +33713,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -33922,7 +33927,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -33998,24 +34003,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34051,7 +34056,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -34265,7 +34270,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -34864,24 +34869,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -34917,7 +34922,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35131,7 +35136,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35207,24 +35212,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -35260,7 +35265,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -35474,7 +35479,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -35896,14 +35901,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -35938,7 +35943,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender?: components["schemas"]["simple-user-webhooks"]; @@ -36153,24 +36158,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36206,7 +36211,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36420,7 +36425,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -36496,24 +36501,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -36549,7 +36554,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -36763,7 +36768,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37379,24 +37384,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37432,7 +37437,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37646,7 +37651,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -37722,24 +37727,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -37775,7 +37780,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -37989,7 +37994,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38589,24 +38594,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38642,7 +38647,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -38856,7 +38861,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -38932,24 +38937,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -38985,7 +38990,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -39199,7 +39204,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -39799,24 +39804,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -39852,7 +39857,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40066,7 +40071,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -40142,24 +40147,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -40195,7 +40200,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -40409,7 +40414,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -40811,14 +40816,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -40853,7 +40858,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -40871,14 +40876,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -40913,7 +40918,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -40931,14 +40936,14 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow updating the pull request's branch. */ allow_update_branch?: boolean; /** * @description Whether to delete head branches when pull requests are merged. * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. * - `PR_TITLE` - default to the pull request's title. @@ -40973,7 +40978,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; }; repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user-webhooks"]; @@ -41338,24 +41343,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41391,7 +41396,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41605,7 +41610,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -41674,24 +41679,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -41727,7 +41732,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -41776,7 +41781,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; homepage: string | null; /** Format: uri */ hooks_url: string; @@ -41941,7 +41946,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42639,24 +42644,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -42692,7 +42697,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -42906,7 +42911,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -42975,24 +42980,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -43028,7 +43033,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -43242,7 +43247,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -43947,24 +43952,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44000,7 +44005,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44214,7 +44219,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -44283,24 +44288,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -44336,7 +44341,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -44550,7 +44555,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45096,24 +45101,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45149,7 +45154,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45363,7 +45368,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -45432,24 +45437,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -45485,7 +45490,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -45699,7 +45704,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -46332,24 +46337,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46385,7 +46390,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -46619,24 +46624,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -46672,7 +46677,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47467,24 +47472,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47520,7 +47525,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -47727,7 +47732,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -47803,24 +47808,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -47856,7 +47861,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48070,7 +48075,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -48706,24 +48711,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -48759,7 +48764,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -48973,7 +48978,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -49049,24 +49054,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -49102,7 +49107,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -49316,7 +49321,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -49972,24 +49977,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50025,7 +50030,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50239,7 +50244,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -50315,24 +50320,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -50368,7 +50373,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -50582,7 +50587,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -51218,24 +51223,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51271,7 +51276,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51485,7 +51490,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -51561,24 +51566,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -51614,7 +51619,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -51828,7 +51833,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -52480,24 +52485,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52533,7 +52538,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -52747,7 +52752,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -52816,24 +52821,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -52869,7 +52874,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -53083,7 +53088,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -53709,24 +53714,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -53762,7 +53767,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54003,24 +54008,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54056,7 +54061,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -54926,24 +54931,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -54979,7 +54984,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -55220,24 +55225,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -55273,7 +55278,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56148,24 +56153,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -56201,7 +56206,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56415,7 +56420,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -56491,24 +56496,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -56544,7 +56549,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -56751,7 +56756,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -57388,24 +57393,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -57441,7 +57446,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -57655,7 +57660,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -57731,24 +57736,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -57784,7 +57789,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -57998,7 +58003,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -58614,24 +58619,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -58667,7 +58672,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -58881,7 +58886,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -58957,24 +58962,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59010,7 +59015,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -59217,7 +59222,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -59817,24 +59822,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -59870,7 +59875,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -60084,7 +60089,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -60160,24 +60165,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -60213,7 +60218,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -60427,7 +60432,7 @@ export interface components { * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** @enum {string} */ visibility: "public" | "private" | "internal"; watchers: number; @@ -60959,24 +60964,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -61012,7 +61017,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -64561,7 +64566,7 @@ export interface components { * @description Whether anonymous git access is allowed. * @default true */ - anonymous_access_enabled: boolean; + anonymous_access_enabled?: boolean; code_of_conduct?: components["schemas"]["code-of-conduct-simple"]; security_and_analysis?: components["schemas"]["security-and-analysis"]; }; @@ -64669,7 +64674,7 @@ export interface components { * @description Whether this repository acts as a template that can be used to generate new repositories. * @default false */ - is_template: boolean; + is_template?: boolean; topics?: string[]; /** * @description Whether issues are enabled. @@ -64697,7 +64702,7 @@ export interface components { * @description Whether discussions are enabled. * @default false */ - has_discussions: boolean; + has_discussions?: boolean; /** * @description Whether the repository is archived. * @default false @@ -64709,7 +64714,7 @@ export interface components { * @description The repository visibility: public, private, or internal. * @default public */ - visibility: string; + visibility?: string; /** Format: date-time */ pushed_at: string | null; /** Format: date-time */ @@ -64720,7 +64725,7 @@ export interface components { * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; template_repository?: { id?: number; node_id?: string; @@ -64870,28 +64875,28 @@ export interface components { * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; /** * @description Whether to allow Auto-merge to be used on pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** * @description Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. * @default false */ - allow_update_branch: boolean; + allow_update_branch?: boolean; /** * @deprecated * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. * @default false */ - use_squash_pr_title_as_default: boolean; + use_squash_pr_title_as_default?: boolean; /** * @description The default value for a squash merge commit title: * @@ -64930,14 +64935,14 @@ export interface components { * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** @description Whether to allow forking this repo */ allow_forking?: boolean; /** * @description Whether to require contributors to sign off on web-based commits * @default false */ - web_commit_signoff_required: boolean; + web_commit_signoff_required?: boolean; subscribers_count?: number; network_count?: number; open_issues: number; @@ -66044,24 +66049,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -66097,7 +66102,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -66356,24 +66361,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -66409,7 +66414,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -66668,24 +66673,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -66721,7 +66726,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -67011,24 +67016,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -67064,7 +67069,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; @@ -67323,24 +67328,24 @@ export interface components { * @description Whether to allow auto-merge for pull requests. * @default false */ - allow_auto_merge: boolean; + allow_auto_merge?: boolean; /** @description Whether to allow private forks */ allow_forking?: boolean; /** * @description Whether to allow merge commits for pull requests. * @default true */ - allow_merge_commit: boolean; + allow_merge_commit?: boolean; /** * @description Whether to allow rebase merges for pull requests. * @default true */ - allow_rebase_merge: boolean; + allow_rebase_merge?: boolean; /** * @description Whether to allow squash merges for pull requests. * @default true */ - allow_squash_merge: boolean; + allow_squash_merge?: boolean; allow_update_branch?: boolean; /** Format: uri-template */ archive_url: string; @@ -67376,7 +67381,7 @@ export interface components { * @description Whether to delete head branches when pull requests are merged * @default false */ - delete_branch_on_merge: boolean; + delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; description: string | null; diff --git a/scripts/generate-types.js b/scripts/generate-types.js index 89244a1..ee0cfbe 100644 --- a/scripts/generate-types.js +++ b/scripts/generate-types.js @@ -2,7 +2,7 @@ import { readdir, mkdir, rm, writeFile, copyFile } from "node:fs/promises"; import { basename } from "node:path"; import * as prettier from "prettier"; -import openapiTS, { astToString } from "openapi-typescript"; +import openapiTS, { astToString, COMMENT_HEADER } from "openapi-typescript"; import { pathToFileURL } from "node:url"; /* (!process.env.OCTOKIT_OPENAPI_VERSION) { @@ -88,9 +88,10 @@ type Repository = components["schemas"]["full-repository"] await writeFile( `packages/${packageName}/types.d.ts`, await prettier.format( - astToString( + COMMENT_HEADER + astToString( await openapiTS( pathToFileURL(`packages/openapi-webhooks/generated/${name}.json`), + { defaultNonNullable: false, } ), ), { From 0354626ca94f0a74a10a1c1c88b54c88a8e8acce Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Thu, 5 Oct 2023 21:51:33 -0400 Subject: [PATCH 04/10] build: upgrade `openapi-typesrcipt` --- package-lock.json | 8 +- package.json | 2 +- .../openapi-webhooks-types-ghec/types.d.ts | 3398 ++++++++--------- .../types.d.ts | 3174 +++++++-------- .../types.d.ts | 2974 +++++++-------- .../types.d.ts | 2988 +++++++-------- .../types.d.ts | 3086 +++++++-------- .../types.d.ts | 2848 +++++++------- packages/openapi-webhooks-types/types.d.ts | 3370 ++++++++-------- 9 files changed, 10924 insertions(+), 10924 deletions(-) diff --git a/package-lock.json b/package-lock.json index ee42f7c..f02a0e8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "deep-equal": "^2.0.5", "github-enterprise-server-versions": "^2.0.1", "lodash": "^4.17.21", - "openapi-typescript": "^7.0.0-next.0", + "openapi-typescript": "^7.0.0-next.1", "prettier": "^3.0.0", "semantic-release": "^22.0.0", "semantic-release-plugin-update-version-in-files": "^1.1.0" @@ -6062,9 +6062,9 @@ } }, "node_modules/openapi-typescript": { - "version": "7.0.0-next.0", - "resolved": "https://registry.npmjs.org/openapi-typescript/-/openapi-typescript-7.0.0-next.0.tgz", - "integrity": "sha512-CFiqZ9G/ERwmiPYOC5F0eGhaJQaJ1pZG7q2Ua7bmUNGgVi+7ehhfj6B1/5Q8rpFIDt0imqLsPU3JjOKmwg7rUw==", + "version": "7.0.0-next.1", + "resolved": "https://registry.npmjs.org/openapi-typescript/-/openapi-typescript-7.0.0-next.1.tgz", + "integrity": "sha512-QbdEX3urev3mue8r+hrF88ZvcoInN8rnojf0TZueLGc+LC8C4VLCew/ZbRdgoDUsdPGF+qDhIQyDm6yIK7oe6Q==", "dev": true, "dependencies": { "@redocly/openapi-core": "^1.2.0", diff --git a/package.json b/package.json index f2d7391..5a1def8 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "deep-equal": "^2.0.5", "github-enterprise-server-versions": "^2.0.1", "lodash": "^4.17.21", - "openapi-typescript": "^7.0.0-next.0", + "openapi-typescript": "^7.0.0-next.1", "prettier": "^3.0.0", "semantic-release": "^22.0.0", "semantic-release-plugin-update-version-in-files": "^1.1.0" diff --git a/packages/openapi-webhooks-types-ghec/types.d.ts b/packages/openapi-webhooks-types-ghec/types.d.ts index 791d07b..e52ef90 100644 --- a/packages/openapi-webhooks-types-ghec/types.d.ts +++ b/packages/openapi-webhooks-types-ghec/types.d.ts @@ -12,8 +12,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is a change to branch protection configurations for a repository. * For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." @@ -23,11 +23,11 @@ export interface webhooks { * @description All branch protections were disabled for a repository. */ post: operations["branch-protection-configuration/disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-configuration-enabled": { parameters: { @@ -36,8 +36,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is a change to branch protection configurations for a repository. * For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." @@ -47,11 +47,11 @@ export interface webhooks { * @description All branch protections were enabled for a repository. */ post: operations["branch-protection-configuration/enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-created": { parameters: { @@ -60,8 +60,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)" in the REST API documentation. * @@ -69,11 +69,11 @@ export interface webhooks { * @description A branch protection rule was created. */ post: operations["branch-protection-rule/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-deleted": { parameters: { @@ -82,8 +82,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)" in the REST API documentation. * @@ -91,11 +91,11 @@ export interface webhooks { * @description A branch protection rule was deleted. */ post: operations["branch-protection-rule/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-edited": { parameters: { @@ -104,8 +104,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection)" in the REST API documentation. * @@ -113,11 +113,11 @@ export interface webhooks { * @description A branch protection rule was edited. */ post: operations["branch-protection-rule/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-completed": { parameters: { @@ -126,8 +126,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs)" in the REST API documentation. * @@ -141,11 +141,11 @@ export interface webhooks { * @description A check run was completed, and a conclusion is available. */ post: operations["check-run/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-created": { parameters: { @@ -154,8 +154,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs)" in the REST API documentation. * @@ -169,11 +169,11 @@ export interface webhooks { * @description A new check run was created. */ post: operations["check-run/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-requested-action": { parameters: { @@ -182,8 +182,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs)" in the REST API documentation. * @@ -197,11 +197,11 @@ export interface webhooks { * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-cloud@latest//developers/apps/guides/creating-ci-tests-with-the-checks-api)." */ post: operations["check-run/requested-action"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-rerequested": { parameters: { @@ -210,8 +210,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs)" in the REST API documentation. * @@ -225,11 +225,11 @@ export interface webhooks { * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. */ post: operations["check-run/rerequested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-completed": { parameters: { @@ -238,8 +238,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites)" in the REST API documentation. * @@ -253,11 +253,11 @@ export interface webhooks { * @description All check runs in a check suite have completed, and a conclusion is available. */ post: operations["check-suite/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-requested": { parameters: { @@ -266,8 +266,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites)" in the REST API documentation. * @@ -281,11 +281,11 @@ export interface webhooks { * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-cloud@latest//graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run)" in the REST API documentation. */ post: operations["check-suite/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-rerequested": { parameters: { @@ -294,8 +294,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-cloud@latest//rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites)" in the REST API documentation. * @@ -309,11 +309,11 @@ export interface webhooks { * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-cloud@latest//graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite)" in the REST API documentation. */ post: operations["check-suite/rerequested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-appeared-in-branch": { parameters: { @@ -322,8 +322,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. * @@ -331,11 +331,11 @@ export interface webhooks { * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. */ post: operations["code-scanning-alert/appeared-in-branch"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-closed-by-user": { parameters: { @@ -344,8 +344,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. * @@ -353,11 +353,11 @@ export interface webhooks { * @description Someone closed a code scanning alert. */ post: operations["code-scanning-alert/closed-by-user"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-created": { parameters: { @@ -366,8 +366,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. * @@ -375,11 +375,11 @@ export interface webhooks { * @description A code scanning alert was created in a repository. */ post: operations["code-scanning-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-fixed": { parameters: { @@ -388,8 +388,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. * @@ -397,11 +397,11 @@ export interface webhooks { * @description A code scanning alert was fixed in a branch by a commit. */ post: operations["code-scanning-alert/fixed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened": { parameters: { @@ -410,8 +410,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. * @@ -419,11 +419,11 @@ export interface webhooks { * @description A previously fixed code scanning alert reappeared in a branch. */ post: operations["code-scanning-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened-by-user": { parameters: { @@ -432,8 +432,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-cloud@latest//code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning)" in the REST API documentation. * @@ -441,11 +441,11 @@ export interface webhooks { * @description Someone reopened a code scanning alert. */ post: operations["code-scanning-alert/reopened-by-user"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "commit-comment-created": { parameters: { @@ -454,8 +454,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-cloud@latest//rest/commits/comments)" in the REST API documentation. * @@ -465,11 +465,11 @@ export interface webhooks { * @description Someone commented on a commit. */ post: operations["commit-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; create: { parameters: { @@ -478,8 +478,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git branch or tag is created. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. @@ -488,11 +488,11 @@ export interface webhooks { * - This event will not occur when more than three tags are created at once. * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. */ post: operations["create"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; delete: { parameters: { @@ -501,8 +501,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including * branch and tag deletions, use the [`push`](#push) webhook event. * @@ -510,11 +510,11 @@ export interface webhooks { * * **Note**: This event will not occur when more than three tags are deleted at once. */ post: operations["delete"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-auto-dismissed": { parameters: { @@ -523,8 +523,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -536,11 +536,11 @@ export interface webhooks { * @description A Dependabot alert was automatically closed. */ post: operations["dependabot-alert/auto-dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-auto-reopened": { parameters: { @@ -549,8 +549,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -562,11 +562,11 @@ export interface webhooks { * @description A Dependabot alert was automatically reopened. */ post: operations["dependabot-alert/auto-reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-created": { parameters: { @@ -575,8 +575,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -588,11 +588,11 @@ export interface webhooks { * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-dismissed": { parameters: { @@ -601,8 +601,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -614,11 +614,11 @@ export interface webhooks { * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-fixed": { parameters: { @@ -627,8 +627,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -640,11 +640,11 @@ export interface webhooks { * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reintroduced": { parameters: { @@ -653,8 +653,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -666,11 +666,11 @@ export interface webhooks { * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reopened": { parameters: { @@ -679,8 +679,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -692,11 +692,11 @@ export interface webhooks { * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-created": { parameters: { @@ -705,8 +705,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-cloud@latest//developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys)" in the REST API documentation. * @@ -714,11 +714,11 @@ export interface webhooks { * @description A deploy key was created. */ post: operations["deploy-key/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-deleted": { parameters: { @@ -727,8 +727,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-cloud@latest//developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys)" in the REST API documentation. * @@ -736,11 +736,11 @@ export interface webhooks { * @description A deploy key was deleted. */ post: operations["deploy-key/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-created": { parameters: { @@ -749,8 +749,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)" in the REST API documentation. * @@ -760,11 +760,11 @@ export interface webhooks { * @description A deployment was created. */ post: operations["deployment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-protection-rule-requested": { parameters: { @@ -773,8 +773,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment protection rules. For more information, see "[Using environments for deployment](https://docs.github.com/enterprise-cloud@latest//actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules)." For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments). * @@ -782,11 +782,11 @@ export interface webhooks { * @description A deployment protection rule was requested for an environment. */ post: operations["deployment-protection-rule/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-approved": { parameters: { @@ -795,8 +795,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)" in the REST API documentation. * @@ -806,11 +806,11 @@ export interface webhooks { * @description A deployment review was approved. */ post: operations["deployment-review/approved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-rejected": { parameters: { @@ -819,8 +819,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)" in the REST API documentation. * @@ -830,11 +830,11 @@ export interface webhooks { * @description A deployment review was rejected. */ post: operations["deployment-review/rejected"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-requested": { parameters: { @@ -843,8 +843,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)" in the REST API documentation. * @@ -854,11 +854,11 @@ export interface webhooks { * @description A deployment review was requested. */ post: operations["deployment-review/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-status-created": { parameters: { @@ -867,8 +867,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-cloud@latest//actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments)" in the REST API documentation. * @@ -878,11 +878,11 @@ export interface webhooks { * @description A new deployment status was created. */ post: operations["deployment-status/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-answered": { parameters: { @@ -891,8 +891,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -904,11 +904,11 @@ export interface webhooks { * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-category-changed": { parameters: { @@ -917,8 +917,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -930,11 +930,11 @@ export interface webhooks { * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-closed": { parameters: { @@ -943,8 +943,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -956,11 +956,11 @@ export interface webhooks { * @description A discussion was closed. */ post: operations["discussion/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-created": { parameters: { @@ -969,8 +969,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -982,11 +982,11 @@ export interface webhooks { * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-deleted": { parameters: { @@ -995,8 +995,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -1008,11 +1008,11 @@ export interface webhooks { * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-edited": { parameters: { @@ -1021,8 +1021,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -1034,11 +1034,11 @@ export interface webhooks { * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-created": { parameters: { @@ -1047,8 +1047,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -1060,11 +1060,11 @@ export interface webhooks { * @description A discussion was created. */ post: operations["discussion/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-deleted": { parameters: { @@ -1073,8 +1073,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -1086,11 +1086,11 @@ export interface webhooks { * @description A discussion was deleted. */ post: operations["discussion/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-edited": { parameters: { @@ -1099,8 +1099,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -1112,11 +1112,11 @@ export interface webhooks { * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-labeled": { parameters: { @@ -1125,8 +1125,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -1138,11 +1138,11 @@ export interface webhooks { * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-locked": { parameters: { @@ -1151,8 +1151,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -1164,11 +1164,11 @@ export interface webhooks { * @description A discussion was locked. */ post: operations["discussion/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-pinned": { parameters: { @@ -1177,8 +1177,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -1190,11 +1190,11 @@ export interface webhooks { * @description A discussion was pinned. */ post: operations["discussion/pinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-reopened": { parameters: { @@ -1203,8 +1203,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -1216,11 +1216,11 @@ export interface webhooks { * @description A discussion was reopened. */ post: operations["discussion/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-transferred": { parameters: { @@ -1229,8 +1229,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -1242,11 +1242,11 @@ export interface webhooks { * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unanswered": { parameters: { @@ -1255,8 +1255,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -1268,11 +1268,11 @@ export interface webhooks { * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlabeled": { parameters: { @@ -1281,8 +1281,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -1294,11 +1294,11 @@ export interface webhooks { * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlocked": { parameters: { @@ -1307,8 +1307,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -1320,11 +1320,11 @@ export interface webhooks { * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unpinned": { parameters: { @@ -1333,8 +1333,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion). * @@ -1346,11 +1346,11 @@ export interface webhooks { * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; fork: { parameters: { @@ -1359,17 +1359,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-cloud@latest//get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-cloud@latest//rest/repos/forks)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["fork"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "github-app-authorization-revoked": { parameters: { @@ -1378,8 +1378,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. * @@ -1389,11 +1389,11 @@ export interface webhooks { * @description Someone revoked their authorization of a GitHub App. */ post: operations["github-app-authorization/revoked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; gollum: { parameters: { @@ -1402,17 +1402,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-cloud@latest//communities/documenting-your-project-with-wikis/about-wikis)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["gollum"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-created": { parameters: { @@ -1421,8 +1421,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1430,11 +1430,11 @@ export interface webhooks { * @description Someone installed a GitHub App on a user or organization account. */ post: operations["installation/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-deleted": { parameters: { @@ -1443,8 +1443,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1452,11 +1452,11 @@ export interface webhooks { * @description Someone uninstalled a GitHub App from their user or organization account. */ post: operations["installation/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-new-permissions-accepted": { parameters: { @@ -1465,8 +1465,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1474,11 +1474,11 @@ export interface webhooks { * @description Someone granted new permissions to a GitHub App. */ post: operations["installation/new-permissions-accepted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-added": { parameters: { @@ -1487,8 +1487,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1496,11 +1496,11 @@ export interface webhooks { * @description A GitHub App installation was granted access to one or more repositories. */ post: operations["installation-repositories/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-removed": { parameters: { @@ -1509,8 +1509,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1518,11 +1518,11 @@ export interface webhooks { * @description Access to one or more repositories was revoked for a GitHub App installation. */ post: operations["installation-repositories/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-suspend": { parameters: { @@ -1531,8 +1531,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1540,11 +1540,11 @@ export interface webhooks { * @description Someone blocked access by a GitHub App to their user or organization account. */ post: operations["installation/suspend"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-target-renamed": { parameters: { @@ -1553,18 +1553,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-cloud@latest//developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-cloud@latest//rest/apps)" in the REST API documentation. * @description Somebody renamed the user or organization account that a GitHub App is installed on. */ post: operations["installation-target/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-unsuspend": { parameters: { @@ -1573,8 +1573,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1582,11 +1582,11 @@ export interface webhooks { * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. */ post: operations["installation/unsuspend"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-created": { parameters: { @@ -1595,8 +1595,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments)" in the REST API documentation. * @@ -1606,11 +1606,11 @@ export interface webhooks { * @description A comment on an issue or pull request was created. */ post: operations["issue-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-deleted": { parameters: { @@ -1619,8 +1619,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments)" in the REST API documentation. * @@ -1630,11 +1630,11 @@ export interface webhooks { * @description A comment on an issue or pull request was deleted. */ post: operations["issue-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-edited": { parameters: { @@ -1643,8 +1643,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments)" in the REST API documentation. * @@ -1654,11 +1654,11 @@ export interface webhooks { * @description A comment on an issue or pull request was edited. */ post: operations["issue-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-assigned": { parameters: { @@ -1667,8 +1667,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * @@ -1678,11 +1678,11 @@ export interface webhooks { * @description An issue was assigned to a user. */ post: operations["issues/assigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-closed": { parameters: { @@ -1691,8 +1691,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * @@ -1702,11 +1702,11 @@ export interface webhooks { * @description An issue was closed. */ post: operations["issues/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-deleted": { parameters: { @@ -1715,8 +1715,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * @@ -1726,11 +1726,11 @@ export interface webhooks { * @description An issue was deleted. */ post: operations["issues/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-demilestoned": { parameters: { @@ -1739,8 +1739,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * @@ -1750,11 +1750,11 @@ export interface webhooks { * @description An issue was removed from a milestone. */ post: operations["issues/demilestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-edited": { parameters: { @@ -1763,8 +1763,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * @@ -1774,11 +1774,11 @@ export interface webhooks { * @description The title or body on an issue was edited. */ post: operations["issues/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-labeled": { parameters: { @@ -1787,8 +1787,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * @@ -1798,11 +1798,11 @@ export interface webhooks { * @description A label was added to an issue. */ post: operations["issues/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-locked": { parameters: { @@ -1811,8 +1811,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * @@ -1822,11 +1822,11 @@ export interface webhooks { * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-milestoned": { parameters: { @@ -1835,8 +1835,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * @@ -1846,11 +1846,11 @@ export interface webhooks { * @description An issue was added to a milestone. */ post: operations["issues/milestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-opened": { parameters: { @@ -1859,8 +1859,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * @@ -1870,11 +1870,11 @@ export interface webhooks { * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. */ post: operations["issues/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-pinned": { parameters: { @@ -1883,8 +1883,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * @@ -1894,11 +1894,11 @@ export interface webhooks { * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/pinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-reopened": { parameters: { @@ -1907,8 +1907,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * @@ -1918,11 +1918,11 @@ export interface webhooks { * @description A closed issue was reopened. */ post: operations["issues/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-transferred": { parameters: { @@ -1931,8 +1931,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * @@ -1942,11 +1942,11 @@ export interface webhooks { * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." */ post: operations["issues/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unassigned": { parameters: { @@ -1955,8 +1955,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * @@ -1966,11 +1966,11 @@ export interface webhooks { * @description A user was unassigned from an issue. */ post: operations["issues/unassigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlabeled": { parameters: { @@ -1979,8 +1979,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * @@ -1990,11 +1990,11 @@ export interface webhooks { * @description A label was removed from an issue. */ post: operations["issues/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlocked": { parameters: { @@ -2003,8 +2003,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * @@ -2014,11 +2014,11 @@ export interface webhooks { * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unpinned": { parameters: { @@ -2027,8 +2027,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * @@ -2038,11 +2038,11 @@ export interface webhooks { * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/unpinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-created": { parameters: { @@ -2051,8 +2051,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)" in the REST API documentation. * @@ -2062,11 +2062,11 @@ export interface webhooks { * @description A label was created. */ post: operations["label/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-deleted": { parameters: { @@ -2075,8 +2075,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)" in the REST API documentation. * @@ -2086,11 +2086,11 @@ export interface webhooks { * @description A label was deleted. */ post: operations["label/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-edited": { parameters: { @@ -2099,8 +2099,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)" in the REST API documentation. * @@ -2110,11 +2110,11 @@ export interface webhooks { * @description A label's name, description, or color was changed. */ post: operations["label/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "marketplace-purchase-cancelled": { parameters: { @@ -2123,18 +2123,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)" in the REST API documentation. * @description Someone cancelled a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately. */ post: operations["marketplace-purchase/cancelled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "marketplace-purchase-changed": { parameters: { @@ -2143,18 +2143,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)" in the REST API documentation. * @description Someone upgraded or downgraded a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately. */ post: operations["marketplace-purchase/changed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "marketplace-purchase-pending-change": { parameters: { @@ -2163,18 +2163,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)" in the REST API documentation. * @description Someone downgraded or cancelled a GitHub Marketplace plan. The new plan or cancellation will take effect at the end of the current billing cycle. When the change takes effect, the `changed` or `cancelled` event will be sent. */ post: operations["marketplace-purchase/pending-change"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "marketplace-purchase-pending-change-cancelled": { parameters: { @@ -2183,18 +2183,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)" in the REST API documentation. * @description Someone cancelled a pending change to a GitHub Marketplace plan. Pending changes include plan cancellations and downgrades that will take effect at the end of a billing cycle. */ post: operations["marketplace-purchase/pending-change-cancelled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "marketplace-purchase-purchased": { parameters: { @@ -2203,18 +2203,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)" in the REST API documentation. * @description Someone purchased a GitHub Marketplace plan. The change will take effect on the account immediately. */ post: operations["marketplace-purchase/purchased"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-added": { parameters: { @@ -2223,8 +2223,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)" in the REST API documentation. * @@ -2232,11 +2232,11 @@ export interface webhooks { * @description A GitHub user accepted an invitation to a repository. */ post: operations["member/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-edited": { parameters: { @@ -2245,8 +2245,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)" in the REST API documentation. * @@ -2254,11 +2254,11 @@ export interface webhooks { * @description Permissions were changed for a collaborator on a repository. */ post: operations["member/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-removed": { parameters: { @@ -2267,8 +2267,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)" in the REST API documentation. * @@ -2276,11 +2276,11 @@ export interface webhooks { * @description A collaborator was removed from a repository. */ post: operations["member/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-added": { parameters: { @@ -2289,8 +2289,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-cloud@latest//rest/teams/members)" in the REST API documentation. * @@ -2298,11 +2298,11 @@ export interface webhooks { * @description An organization member was added to a team. */ post: operations["membership/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-removed": { parameters: { @@ -2311,8 +2311,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-cloud@latest//rest/teams/members)" in the REST API documentation. * @@ -2320,11 +2320,11 @@ export interface webhooks { * @description An organization member was removed from a team. */ post: operations["membership/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "merge-group-checks-requested": { parameters: { @@ -2333,8 +2333,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a merge group in a merge queue. For more information, see "[Managing a merge queue](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue)." * @@ -2344,11 +2344,11 @@ export interface webhooks { * When you receive this event, you should perform checks on the head SHA and report status back using check runs or commit statuses. */ post: operations["merge-group/checks-requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "merge-group-destroyed": { parameters: { @@ -2357,8 +2357,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a merge group in a merge queue. For more information, see "[Managing a merge queue](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue)." * @@ -2368,11 +2368,11 @@ export interface webhooks { * When you receive this event, you may want to cancel any checks that are running on the head SHA to avoid wasting computing resources on a merge group that will not be used. */ post: operations["merge-group/destroyed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "meta-deleted": { parameters: { @@ -2381,8 +2381,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a webhook itself. * @@ -2390,11 +2390,11 @@ export interface webhooks { * @description The webhook was deleted. */ post: operations["meta/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-closed": { parameters: { @@ -2403,8 +2403,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)" in the REST API documentation. * @@ -2414,11 +2414,11 @@ export interface webhooks { * @description A milestone was closed. */ post: operations["milestone/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-created": { parameters: { @@ -2427,8 +2427,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)" in the REST API documentation. * @@ -2438,11 +2438,11 @@ export interface webhooks { * @description A milestone was created. */ post: operations["milestone/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-deleted": { parameters: { @@ -2451,8 +2451,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)" in the REST API documentation. * @@ -2462,11 +2462,11 @@ export interface webhooks { * @description A milestone was deleted. */ post: operations["milestone/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-edited": { parameters: { @@ -2475,8 +2475,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)" in the REST API documentation. * @@ -2486,11 +2486,11 @@ export interface webhooks { * @description A milestone was edited. */ post: operations["milestone/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-opened": { parameters: { @@ -2499,8 +2499,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)" in the REST API documentation. * @@ -2510,11 +2510,11 @@ export interface webhooks { * @description A milestone was opened. */ post: operations["milestone/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "org-block-blocked": { parameters: { @@ -2523,8 +2523,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see "[Blocking a user from your organization](https://docs.github.com/enterprise-cloud@latest//communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization)." For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#userblockedevent) or "[Blocking users](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking)" in the REST API documentation. * @@ -2534,11 +2534,11 @@ export interface webhooks { * @description A user was blocked from the organization. */ post: operations["org-block/blocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "org-block-unblocked": { parameters: { @@ -2547,8 +2547,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see "[Blocking a user from your organization](https://docs.github.com/enterprise-cloud@latest//communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization)." For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#userblockedevent) or "[Blocking users](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking)" in the REST API documentation. * @@ -2558,11 +2558,11 @@ export interface webhooks { * @description A previously blocked user was unblocked from the organization. */ post: operations["org-block/unblocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-deleted": { parameters: { @@ -2571,8 +2571,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)" in the REST API documentation. * @@ -2582,11 +2582,11 @@ export interface webhooks { * @description An organization was deleted. */ post: operations["organization/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-added": { parameters: { @@ -2595,8 +2595,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)" in the REST API documentation. * @@ -2606,11 +2606,11 @@ export interface webhooks { * @description A member accepted an invitation to join an organization. */ post: operations["organization/member-added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-invited": { parameters: { @@ -2619,8 +2619,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)" in the REST API documentation. * @@ -2630,11 +2630,11 @@ export interface webhooks { * @description A member was invited to join the organization. */ post: operations["organization/member-invited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-removed": { parameters: { @@ -2643,8 +2643,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)" in the REST API documentation. * @@ -2654,11 +2654,11 @@ export interface webhooks { * @description A member was removed from the organization. */ post: operations["organization/member-removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-renamed": { parameters: { @@ -2667,8 +2667,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)" in the REST API documentation. * @@ -2678,11 +2678,11 @@ export interface webhooks { * @description The name of an organization was changed. */ post: operations["organization/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-published": { parameters: { @@ -2691,8 +2691,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)" in the REST API documentation. * @@ -2700,11 +2700,11 @@ export interface webhooks { * @description A package was published to a registry. */ post: operations["package/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-updated": { parameters: { @@ -2713,8 +2713,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)" in the REST API documentation. * @@ -2722,11 +2722,11 @@ export interface webhooks { * @description A previously published package was updated. */ post: operations["package/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "page-build": { parameters: { @@ -2735,17 +2735,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-cloud@latest//pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-cloud@latest//rest/pages)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. */ post: operations["page-build"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-approved": { parameters: { @@ -2754,8 +2754,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * @@ -2765,11 +2765,11 @@ export interface webhooks { * @description A fine-grained personal access token request was approved. */ post: operations["personal-access-token-request/approved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-cancelled": { parameters: { @@ -2778,8 +2778,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * @@ -2789,11 +2789,11 @@ export interface webhooks { * @description A fine-grained personal access token request was cancelled by the requester. */ post: operations["personal-access-token-request/cancelled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-created": { parameters: { @@ -2802,8 +2802,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * @@ -2813,11 +2813,11 @@ export interface webhooks { * @description A fine-grained personal access token request was created. */ post: operations["personal-access-token-request/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-denied": { parameters: { @@ -2826,8 +2826,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * @@ -2837,11 +2837,11 @@ export interface webhooks { * @description A fine-grained personal access token request was denied. */ post: operations["personal-access-token-request/denied"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; ping: { parameters: { @@ -2850,15 +2850,15 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ post: operations["ping"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-converted": { parameters: { @@ -2867,8 +2867,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * @@ -2878,11 +2878,11 @@ export interface webhooks { * @description A note in a classic project was converted to an issue. */ post: operations["project-card/converted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-created": { parameters: { @@ -2891,8 +2891,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * @@ -2902,11 +2902,11 @@ export interface webhooks { * @description A card was added to a classic project. */ post: operations["project-card/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-deleted": { parameters: { @@ -2915,8 +2915,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * @@ -2926,11 +2926,11 @@ export interface webhooks { * @description A card on a classic project was deleted. */ post: operations["project-card/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-edited": { parameters: { @@ -2939,8 +2939,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * @@ -2950,11 +2950,11 @@ export interface webhooks { * @description A note on a classic project was edited. */ post: operations["project-card/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-moved": { parameters: { @@ -2963,8 +2963,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * @@ -2974,11 +2974,11 @@ export interface webhooks { * @description A card on a classic project was moved to another column or to another position in its column. */ post: operations["project-card/moved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-closed": { parameters: { @@ -2987,8 +2987,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * @@ -2998,11 +2998,11 @@ export interface webhooks { * @description A classic project was closed. */ post: operations["project/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-created": { parameters: { @@ -3011,8 +3011,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * @@ -3022,11 +3022,11 @@ export interface webhooks { * @description A column was added to a classic project. */ post: operations["project-column/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-deleted": { parameters: { @@ -3035,8 +3035,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * @@ -3046,11 +3046,11 @@ export interface webhooks { * @description A column was deleted from a classic project. */ post: operations["project-column/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-edited": { parameters: { @@ -3059,8 +3059,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * @@ -3070,11 +3070,11 @@ export interface webhooks { * @description The name of a column on a classic project was changed. */ post: operations["project-column/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-moved": { parameters: { @@ -3083,8 +3083,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * @@ -3094,11 +3094,11 @@ export interface webhooks { * @description A column was moved to a new position on a classic project. */ post: operations["project-column/moved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-created": { parameters: { @@ -3107,8 +3107,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * @@ -3118,11 +3118,11 @@ export interface webhooks { * @description A classic project was created. */ post: operations["project/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-deleted": { parameters: { @@ -3131,8 +3131,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * @@ -3142,11 +3142,11 @@ export interface webhooks { * @description A classic project was deleted. */ post: operations["project/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-edited": { parameters: { @@ -3155,8 +3155,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * @@ -3166,11 +3166,11 @@ export interface webhooks { * @description The name or description of a classic project was changed. */ post: operations["project/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-reopened": { parameters: { @@ -3179,8 +3179,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)" in the REST API documentation. * @@ -3190,11 +3190,11 @@ export interface webhooks { * @description A classic project was closed. */ post: operations["project/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-closed": { parameters: { @@ -3203,8 +3203,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2). * @@ -3216,11 +3216,11 @@ export interface webhooks { * @description A project in the organization was closed. */ post: operations["projects-v2/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-created": { parameters: { @@ -3229,8 +3229,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2). * @@ -3242,11 +3242,11 @@ export interface webhooks { * @description A project in the organization was created. */ post: operations["projects-v2/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-deleted": { parameters: { @@ -3255,8 +3255,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2). * @@ -3268,11 +3268,11 @@ export interface webhooks { * @description A project in the organization was deleted. */ post: operations["projects-v2/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-edited": { parameters: { @@ -3281,8 +3281,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2). * @@ -3294,11 +3294,11 @@ export interface webhooks { * @description The title, description, or README of a project in the organization was changed. */ post: operations["projects-v2/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-archived": { parameters: { @@ -3307,8 +3307,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). * @@ -3320,11 +3320,11 @@ export interface webhooks { * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/archived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-converted": { parameters: { @@ -3333,8 +3333,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). * @@ -3346,11 +3346,11 @@ export interface webhooks { * @description A draft issue in an organization project was converted to an issue. */ post: operations["projects-v2-item/converted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-created": { parameters: { @@ -3359,8 +3359,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). * @@ -3372,11 +3372,11 @@ export interface webhooks { * @description An item was added to a project in the organization. */ post: operations["projects-v2-item/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-deleted": { parameters: { @@ -3385,8 +3385,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). * @@ -3398,11 +3398,11 @@ export interface webhooks { * @description An item was deleted from a project in the organization. */ post: operations["projects-v2-item/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-edited": { parameters: { @@ -3411,8 +3411,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). * @@ -3424,11 +3424,11 @@ export interface webhooks { * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. */ post: operations["projects-v2-item/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-reordered": { parameters: { @@ -3437,8 +3437,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). * @@ -3450,11 +3450,11 @@ export interface webhooks { * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. */ post: operations["projects-v2-item/reordered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-restored": { parameters: { @@ -3463,8 +3463,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item). * @@ -3476,11 +3476,11 @@ export interface webhooks { * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/restored"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-reopened": { parameters: { @@ -3489,8 +3489,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2). * @@ -3502,11 +3502,11 @@ export interface webhooks { * @description A project in the organization was reopened. */ post: operations["projects-v2/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; public: { parameters: { @@ -3515,17 +3515,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. */ post: operations["public"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-assigned": { parameters: { @@ -3534,8 +3534,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -3545,11 +3545,11 @@ export interface webhooks { * @description A pull request was assigned to a user. */ post: operations["pull-request/assigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-disabled": { parameters: { @@ -3558,8 +3558,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -3569,11 +3569,11 @@ export interface webhooks { * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-enabled": { parameters: { @@ -3582,8 +3582,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -3593,11 +3593,11 @@ export interface webhooks { * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-closed": { parameters: { @@ -3606,8 +3606,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -3617,11 +3617,11 @@ export interface webhooks { * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. */ post: operations["pull-request/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-converted-to-draft": { parameters: { @@ -3630,8 +3630,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -3641,11 +3641,11 @@ export interface webhooks { * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/converted-to-draft"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-demilestoned": { parameters: { @@ -3654,8 +3654,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -3665,11 +3665,11 @@ export interface webhooks { * @description A pull request was removed from a milestone. */ post: operations["pull-request/demilestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-dequeued": { parameters: { @@ -3678,8 +3678,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -3689,11 +3689,11 @@ export interface webhooks { * @description A pull request was removed from the merge queue. */ post: operations["pull-request/dequeued"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-edited": { parameters: { @@ -3702,8 +3702,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -3713,11 +3713,11 @@ export interface webhooks { * @description The title or body of a pull request was edited. */ post: operations["pull-request/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-enqueued": { parameters: { @@ -3726,8 +3726,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -3737,11 +3737,11 @@ export interface webhooks { * @description A pull request was added to the merge queue. */ post: operations["pull-request/enqueued"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-labeled": { parameters: { @@ -3750,8 +3750,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -3761,11 +3761,11 @@ export interface webhooks { * @description A label was added to a pull request. */ post: operations["pull-request/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-locked": { parameters: { @@ -3774,8 +3774,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -3785,11 +3785,11 @@ export interface webhooks { * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-milestoned": { parameters: { @@ -3798,8 +3798,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -3809,11 +3809,11 @@ export interface webhooks { * @description A pull request was added to a milestone. */ post: operations["pull-request/milestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-opened": { parameters: { @@ -3822,8 +3822,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -3833,11 +3833,11 @@ export interface webhooks { * @description A pull request was created */ post: operations["pull-request/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-ready-for-review": { parameters: { @@ -3846,8 +3846,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -3857,11 +3857,11 @@ export interface webhooks { * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/ready-for-review"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-reopened": { parameters: { @@ -3870,8 +3870,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -3881,11 +3881,11 @@ export interface webhooks { * @description A previously closed pull request was reopened. */ post: operations["pull-request/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-created": { parameters: { @@ -3894,8 +3894,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)" in the REST API documentation. * @@ -3905,11 +3905,11 @@ export interface webhooks { * @description A comment on a pull request diff was created. */ post: operations["pull-request-review-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-deleted": { parameters: { @@ -3918,8 +3918,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)" in the REST API documentation. * @@ -3929,11 +3929,11 @@ export interface webhooks { * @description A comment on a pull request diff was deleted. */ post: operations["pull-request-review-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-edited": { parameters: { @@ -3942,8 +3942,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)" in the REST API documentation. * @@ -3953,11 +3953,11 @@ export interface webhooks { * @description The content of a comment on a pull request diff was changed. */ post: operations["pull-request-review-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-dismissed": { parameters: { @@ -3966,8 +3966,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)" in the REST API documentation. * @@ -3977,11 +3977,11 @@ export interface webhooks { * @description A review on a pull request was dismissed. */ post: operations["pull-request-review/dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-edited": { parameters: { @@ -3990,8 +3990,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)" in the REST API documentation. * @@ -4001,11 +4001,11 @@ export interface webhooks { * @description The body comment on a pull request review was edited. */ post: operations["pull-request-review/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-request-removed": { parameters: { @@ -4014,8 +4014,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -4025,11 +4025,11 @@ export interface webhooks { * @description A request for review by a person or team was removed from a pull request. */ post: operations["pull-request/review-request-removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-requested": { parameters: { @@ -4038,8 +4038,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -4049,11 +4049,11 @@ export interface webhooks { * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." */ post: operations["pull-request/review-requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-submitted": { parameters: { @@ -4062,8 +4062,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)" in the REST API documentation. * @@ -4073,11 +4073,11 @@ export interface webhooks { * @description A review on a pull request was submitted. */ post: operations["pull-request-review/submitted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-resolved": { parameters: { @@ -4086,8 +4086,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)" in the REST API documentation. * @@ -4097,11 +4097,11 @@ export interface webhooks { * @description A comment thread on a pull request was marked as resolved. */ post: operations["pull-request-review-thread/resolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-unresolved": { parameters: { @@ -4110,8 +4110,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)" in the REST API documentation. * @@ -4121,11 +4121,11 @@ export interface webhooks { * @description A previously resolved comment thread on a pull request was marked as unresolved. */ post: operations["pull-request-review-thread/unresolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-synchronize": { parameters: { @@ -4134,8 +4134,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -4145,11 +4145,11 @@ export interface webhooks { * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. */ post: operations["pull-request/synchronize"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unassigned": { parameters: { @@ -4158,8 +4158,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -4169,11 +4169,11 @@ export interface webhooks { * @description A user was unassigned from a pull request. */ post: operations["pull-request/unassigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlabeled": { parameters: { @@ -4182,8 +4182,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -4193,11 +4193,11 @@ export interface webhooks { * @description A label was removed from a pull request. */ post: operations["pull-request/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlocked": { parameters: { @@ -4206,8 +4206,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)" in the REST API documentation. * @@ -4217,11 +4217,11 @@ export interface webhooks { * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; push: { parameters: { @@ -4230,8 +4230,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch * and tag deletions, use the [`delete`](#delete) webhook event. @@ -4240,11 +4240,11 @@ export interface webhooks { * * **Note**: An event will not be created when more than three tags are pushed at once. */ post: operations["push"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-published": { parameters: { @@ -4253,8 +4253,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)" in the REST API documentation. * @@ -4264,11 +4264,11 @@ export interface webhooks { * @description A package was published to a registry. */ post: operations["registry-package/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-updated": { parameters: { @@ -4277,8 +4277,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)" in the REST API documentation. * @@ -4288,11 +4288,11 @@ export interface webhooks { * @description A package that was previously published to a registry was updated. */ post: operations["registry-package/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-created": { parameters: { @@ -4301,8 +4301,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. * @@ -4310,11 +4310,11 @@ export interface webhooks { * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. */ post: operations["release/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-deleted": { parameters: { @@ -4323,8 +4323,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. * @@ -4332,11 +4332,11 @@ export interface webhooks { * @description A release, pre-release, or draft release was deleted. */ post: operations["release/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-edited": { parameters: { @@ -4345,8 +4345,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. * @@ -4354,11 +4354,11 @@ export interface webhooks { * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." */ post: operations["release/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-prereleased": { parameters: { @@ -4367,8 +4367,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. * @@ -4376,11 +4376,11 @@ export interface webhooks { * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. */ post: operations["release/prereleased"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-published": { parameters: { @@ -4389,8 +4389,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. * @@ -4398,11 +4398,11 @@ export interface webhooks { * @description A release, pre-release, or draft of a release was published. */ post: operations["release/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-released": { parameters: { @@ -4411,8 +4411,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. * @@ -4420,11 +4420,11 @@ export interface webhooks { * @description A release was published, or a pre-release was changed to a release. */ post: operations["release/released"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-unpublished": { parameters: { @@ -4433,8 +4433,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)" in the REST API documentation. * @@ -4442,11 +4442,11 @@ export interface webhooks { * @description A release or pre-release was unpublished. */ post: operations["release/unpublished"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-advisory-published": { parameters: { @@ -4455,8 +4455,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." * @@ -4464,11 +4464,11 @@ export interface webhooks { * @description A repository security advisory was published. */ post: operations["repository-advisory/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-advisory-reported": { parameters: { @@ -4477,8 +4477,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." * @@ -4486,11 +4486,11 @@ export interface webhooks { * @description A private vulnerability report was submitted. */ post: operations["repository-advisory/reported"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-archived": { parameters: { @@ -4499,8 +4499,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * @@ -4508,11 +4508,11 @@ export interface webhooks { * @description A repository was archived. */ post: operations["repository/archived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-created": { parameters: { @@ -4521,8 +4521,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * @@ -4530,11 +4530,11 @@ export interface webhooks { * @description A repository was created. */ post: operations["repository/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-deleted": { parameters: { @@ -4543,8 +4543,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * @@ -4552,11 +4552,11 @@ export interface webhooks { * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. */ post: operations["repository/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-dispatch-sample.collected": { parameters: { @@ -4565,8 +4565,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event). * @@ -4574,11 +4574,11 @@ export interface webhooks { * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. */ post: operations["repository-dispatch/sample.collected"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-edited": { parameters: { @@ -4587,8 +4587,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * @@ -4596,11 +4596,11 @@ export interface webhooks { * @description The topics, default branch, description, or homepage of a repository was changed. */ post: operations["repository/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-import": { parameters: { @@ -4609,15 +4609,15 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a repository is imported to GitHub Enterprise Cloud. For more information, see "[Importing a repository with GitHub Importer](https://docs.github.com/enterprise-cloud@latest//get-started/importing-your-projects-to-github/importing-source-code-to-github/importing-a-repository-with-github-importer)." For more information about the API to manage imports, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports). */ post: operations["repository-import"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-privatized": { parameters: { @@ -4626,8 +4626,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * @@ -4635,11 +4635,11 @@ export interface webhooks { * @description The visibility of a repository was changed to `private`. */ post: operations["repository/privatized"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-publicized": { parameters: { @@ -4648,8 +4648,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * @@ -4657,11 +4657,11 @@ export interface webhooks { * @description The visibility of a repository was changed to `public`. */ post: operations["repository/publicized"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-renamed": { parameters: { @@ -4670,8 +4670,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * @@ -4679,11 +4679,11 @@ export interface webhooks { * @description The name of a repository was changed. */ post: operations["repository/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-ruleset-created": { parameters: { @@ -4692,8 +4692,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository rulesets. * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." @@ -4703,11 +4703,11 @@ export interface webhooks { * @description A repository ruleset was created. */ post: operations["repository-ruleset/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-ruleset-deleted": { parameters: { @@ -4716,8 +4716,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository rulesets. * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." @@ -4727,11 +4727,11 @@ export interface webhooks { * @description A repository ruleset was deleted. */ post: operations["repository-ruleset/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-ruleset-edited": { parameters: { @@ -4740,8 +4740,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository rulesets. * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." @@ -4751,11 +4751,11 @@ export interface webhooks { * @description A repository ruleset was edited. */ post: operations["repository-ruleset/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-transferred": { parameters: { @@ -4764,8 +4764,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * @@ -4773,11 +4773,11 @@ export interface webhooks { * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. */ post: operations["repository/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-unarchived": { parameters: { @@ -4786,8 +4786,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)" in the REST API documentation. * @@ -4795,11 +4795,11 @@ export interface webhooks { * @description A previously archived repository was unarchived. */ post: operations["repository/unarchived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-create": { parameters: { @@ -4808,8 +4808,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4817,11 +4817,11 @@ export interface webhooks { * @description A repository vulnerability alert was created. */ post: operations["repository-vulnerability-alert/create"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-dismiss": { parameters: { @@ -4830,8 +4830,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4839,11 +4839,11 @@ export interface webhooks { * @description A repository vulnerability alert was dismissed. */ post: operations["repository-vulnerability-alert/dismiss"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-reopen": { parameters: { @@ -4852,8 +4852,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4861,11 +4861,11 @@ export interface webhooks { * @description A previously dismissed or resolved repository vulnerability alert was reopened. */ post: operations["repository-vulnerability-alert/reopen"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-resolve": { parameters: { @@ -4874,8 +4874,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4883,11 +4883,11 @@ export interface webhooks { * @description A repository vulnerability alert was marked as resolved. */ post: operations["repository-vulnerability-alert/resolve"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-created": { parameters: { @@ -4896,8 +4896,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. * @@ -4907,11 +4907,11 @@ export interface webhooks { * @description A secret scanning alert was created. */ post: operations["secret-scanning-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-location-created": { parameters: { @@ -4920,8 +4920,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. * @@ -4933,11 +4933,11 @@ export interface webhooks { * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. */ post: operations["secret-scanning-alert-location/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-reopened": { parameters: { @@ -4946,8 +4946,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. * @@ -4957,11 +4957,11 @@ export interface webhooks { * @description A previously closed secret scanning alert was reopened. */ post: operations["secret-scanning-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-resolved": { parameters: { @@ -4970,8 +4970,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. * @@ -4981,11 +4981,11 @@ export interface webhooks { * @description A secret scanning alert was closed. */ post: operations["secret-scanning-alert/resolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-revoked": { parameters: { @@ -4994,8 +4994,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. * @@ -5005,11 +5005,11 @@ export interface webhooks { * @description A secret scanning alert was marked as revoked. */ post: operations["secret-scanning-alert/revoked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-published": { parameters: { @@ -5018,8 +5018,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory). * @@ -5027,11 +5027,11 @@ export interface webhooks { * @description A security advisory was published to the GitHub community. */ post: operations["security-advisory/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-updated": { parameters: { @@ -5040,8 +5040,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory). * @@ -5049,11 +5049,11 @@ export interface webhooks { * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. */ post: operations["security-advisory/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-withdrawn": { parameters: { @@ -5062,8 +5062,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory). * @@ -5071,11 +5071,11 @@ export interface webhooks { * @description A previously published security advisory was withdrawn. */ post: operations["security-advisory/withdrawn"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-and-analysis": { parameters: { @@ -5084,17 +5084,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-cloud@latest//code-security/getting-started/github-security-features)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. */ post: operations["security-and-analysis"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-cancelled": { parameters: { @@ -5103,8 +5103,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). * @@ -5114,11 +5114,11 @@ export interface webhooks { * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/cancelled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-created": { parameters: { @@ -5127,8 +5127,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). * @@ -5136,11 +5136,11 @@ export interface webhooks { * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. */ post: operations["sponsorship/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-edited": { parameters: { @@ -5149,8 +5149,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). * @@ -5158,11 +5158,11 @@ export interface webhooks { * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. */ post: operations["sponsorship/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-cancellation": { parameters: { @@ -5171,8 +5171,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). * @@ -5182,11 +5182,11 @@ export interface webhooks { * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/pending-cancellation"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-tier-change": { parameters: { @@ -5195,8 +5195,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). * @@ -5204,11 +5204,11 @@ export interface webhooks { * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. */ post: operations["sponsorship/pending-tier-change"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-tier-changed": { parameters: { @@ -5217,8 +5217,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship). * @@ -5226,11 +5226,11 @@ export interface webhooks { * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. */ post: operations["sponsorship/tier-changed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-created": { parameters: { @@ -5239,8 +5239,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-cloud@latest//get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-cloud@latest//rest/activity/starring)" in the REST API documentation. * @@ -5248,11 +5248,11 @@ export interface webhooks { * @description Someone starred a repository. */ post: operations["star/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-deleted": { parameters: { @@ -5261,8 +5261,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-cloud@latest//get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-cloud@latest//rest/activity/starring)" in the REST API documentation. * @@ -5270,11 +5270,11 @@ export interface webhooks { * @description Someone unstarred the repository. */ post: operations["star/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; status: { parameters: { @@ -5283,17 +5283,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. */ post: operations["status"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-add": { parameters: { @@ -5302,8 +5302,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a team is added to a repository. * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." * @@ -5311,11 +5311,11 @@ export interface webhooks { * * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. */ post: operations["team-add"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-added-to-repository": { parameters: { @@ -5324,8 +5324,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." @@ -5334,11 +5334,11 @@ export interface webhooks { * @description A team was granted access to a repository. */ post: operations["team/added-to-repository"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-created": { parameters: { @@ -5347,8 +5347,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." @@ -5357,11 +5357,11 @@ export interface webhooks { * @description A team was created. */ post: operations["team/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-deleted": { parameters: { @@ -5370,8 +5370,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." @@ -5380,11 +5380,11 @@ export interface webhooks { * @description A team was deleted. */ post: operations["team/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-edited": { parameters: { @@ -5393,8 +5393,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." @@ -5403,11 +5403,11 @@ export interface webhooks { * @description The name, description, or visibility of a team was changed. */ post: operations["team/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-removed-from-repository": { parameters: { @@ -5416,8 +5416,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams)." @@ -5426,11 +5426,11 @@ export interface webhooks { * @description A team's access to a repository was removed. */ post: operations["team/removed-from-repository"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "user-created": { parameters: { @@ -5439,18 +5439,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was added to the enterprise. */ post: operations["user/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "user-deleted": { parameters: { @@ -5459,18 +5459,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was removed from the enterprise. */ post: operations["user/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "watch-started": { parameters: { @@ -5479,8 +5479,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-cloud@latest//account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-cloud@latest//rest/activity/watching)" in the REST API documentation. * @@ -5488,11 +5488,11 @@ export interface webhooks { * @description Someone started watching the repository. */ post: operations["watch/started"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-dispatch": { parameters: { @@ -5501,19 +5501,19 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-cloud@latest//actions/managing-workflow-runs/manually-running-a-workflow)." * * For activity relating to workflow runs, use the `workflow_run` event. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["workflow-dispatch"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-completed": { parameters: { @@ -5522,8 +5522,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)" in the REST API documentation. * @@ -5533,11 +5533,11 @@ export interface webhooks { * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. */ post: operations["workflow-job/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-in-progress": { parameters: { @@ -5546,8 +5546,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)" in the REST API documentation. * @@ -5557,11 +5557,11 @@ export interface webhooks { * @description A job in a workflow run started processing on a runner. */ post: operations["workflow-job/in-progress"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-queued": { parameters: { @@ -5570,8 +5570,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)" in the REST API documentation. * @@ -5581,11 +5581,11 @@ export interface webhooks { * @description A job in a workflow run was created. */ post: operations["workflow-job/queued"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-waiting": { parameters: { @@ -5594,8 +5594,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)" in the REST API documentation. * @@ -5605,11 +5605,11 @@ export interface webhooks { * @description A job in a workflow run was created and is waiting for approvals. */ post: operations["workflow-job/waiting"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-completed": { parameters: { @@ -5618,8 +5618,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)" in the REST API documentation. * @@ -5629,11 +5629,11 @@ export interface webhooks { * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. */ post: operations["workflow-run/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-in-progress": { parameters: { @@ -5642,8 +5642,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)" in the REST API documentation. * @@ -5653,11 +5653,11 @@ export interface webhooks { * @description A workflow run started processing on a runner. */ post: operations["workflow-run/in-progress"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-requested": { parameters: { @@ -5666,8 +5666,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)" in the REST API documentation. * @@ -5677,11 +5677,11 @@ export interface webhooks { * @description A workflow run was triggered. */ post: operations["workflow-run/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; } export interface components { @@ -6576,7 +6576,7 @@ export interface components { metadata?: string; contents?: string; deployments?: string; - [key: string]: string; + [key: string]: string | undefined; }; /** @description The list of events for the GitHub app */ events: string[]; @@ -28293,11 +28293,11 @@ export interface components { }; platform?: string; metadata?: { - [key: string]: string; + [key: string]: string | undefined; }; repo?: string; dependencies?: { - [key: string]: string; + [key: string]: string | undefined; }[]; commit_oid?: string; }; @@ -28581,37 +28581,37 @@ export interface components { /** @description New requested permissions, categorized by type of permission. */ permissions_added: { organization?: { - [key: string]: string; + [key: string]: string | undefined; }; repository?: { - [key: string]: string; + [key: string]: string | undefined; }; other?: { - [key: string]: string; + [key: string]: string | undefined; }; }; /** @description Requested permissions that elevate access for a previously approved request for access, categorized by type of permission. */ permissions_upgraded: { organization?: { - [key: string]: string; + [key: string]: string | undefined; }; repository?: { - [key: string]: string; + [key: string]: string | undefined; }; other?: { - [key: string]: string; + [key: string]: string | undefined; }; }; /** @description Permissions requested, categorized by type of permission. This field incorporates `permissions_added` and `permissions_upgraded`. */ permissions_result: { organization?: { - [key: string]: string; + [key: string]: string | undefined; }; repository?: { - [key: string]: string; + [key: string]: string | undefined; }; other?: { - [key: string]: string; + [key: string]: string | undefined; }; }; /** diff --git a/packages/openapi-webhooks-types-ghes-3.10/types.d.ts b/packages/openapi-webhooks-types-ghes-3.10/types.d.ts index 1e71dca..1a34079 100644 --- a/packages/openapi-webhooks-types-ghes-3.10/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.10/types.d.ts @@ -12,8 +12,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.10/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection)" in the REST API documentation. * @@ -21,11 +21,11 @@ export interface webhooks { * @description A branch protection rule was created. */ post: operations["branch-protection-rule/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-deleted": { parameters: { @@ -34,8 +34,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.10/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection)" in the REST API documentation. * @@ -43,11 +43,11 @@ export interface webhooks { * @description A branch protection rule was deleted. */ post: operations["branch-protection-rule/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-edited": { parameters: { @@ -56,8 +56,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.10/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection)" in the REST API documentation. * @@ -65,11 +65,11 @@ export interface webhooks { * @description A branch protection rule was edited. */ post: operations["branch-protection-rule/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "cache-sync": { parameters: { @@ -78,15 +78,15 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](https://docs.github.com/enterprise-server@3.10/admin/enterprise-management/caching-repositories/about-repository-caching)." */ post: operations["cache-sync"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-completed": { parameters: { @@ -95,8 +95,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.10/rest/checks/runs)" in the REST API documentation. * @@ -110,11 +110,11 @@ export interface webhooks { * @description A check run was completed, and a conclusion is available. */ post: operations["check-run/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-created": { parameters: { @@ -123,8 +123,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.10/rest/checks/runs)" in the REST API documentation. * @@ -138,11 +138,11 @@ export interface webhooks { * @description A new check run was created. */ post: operations["check-run/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-requested-action": { parameters: { @@ -151,8 +151,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.10/rest/checks/runs)" in the REST API documentation. * @@ -166,11 +166,11 @@ export interface webhooks { * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.10/developers/apps/guides/creating-ci-tests-with-the-checks-api)." */ post: operations["check-run/requested-action"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-rerequested": { parameters: { @@ -179,8 +179,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.10/rest/checks/runs)" in the REST API documentation. * @@ -194,11 +194,11 @@ export interface webhooks { * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. */ post: operations["check-run/rerequested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-completed": { parameters: { @@ -207,8 +207,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.10/rest/checks/suites)" in the REST API documentation. * @@ -222,11 +222,11 @@ export interface webhooks { * @description All check runs in a check suite have completed, and a conclusion is available. */ post: operations["check-suite/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-requested": { parameters: { @@ -235,8 +235,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.10/rest/checks/suites)" in the REST API documentation. * @@ -250,11 +250,11 @@ export interface webhooks { * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.10/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-server@3.10/rest/checks/runs#create-a-check-run)" in the REST API documentation. */ post: operations["check-suite/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-rerequested": { parameters: { @@ -263,8 +263,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.10/rest/checks/suites)" in the REST API documentation. * @@ -278,11 +278,11 @@ export interface webhooks { * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.10/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-server@3.10/rest/checks/suites#create-a-check-suite)" in the REST API documentation. */ post: operations["check-suite/rerequested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-appeared-in-branch": { parameters: { @@ -291,8 +291,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. * @@ -300,11 +300,11 @@ export interface webhooks { * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. */ post: operations["code-scanning-alert/appeared-in-branch"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-closed-by-user": { parameters: { @@ -313,8 +313,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. * @@ -322,11 +322,11 @@ export interface webhooks { * @description Someone closed a code scanning alert. */ post: operations["code-scanning-alert/closed-by-user"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-created": { parameters: { @@ -335,8 +335,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. * @@ -344,11 +344,11 @@ export interface webhooks { * @description A code scanning alert was created in a repository. */ post: operations["code-scanning-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-fixed": { parameters: { @@ -357,8 +357,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. * @@ -366,11 +366,11 @@ export interface webhooks { * @description A code scanning alert was fixed in a branch by a commit. */ post: operations["code-scanning-alert/fixed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened": { parameters: { @@ -379,8 +379,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. * @@ -388,11 +388,11 @@ export interface webhooks { * @description A previously fixed code scanning alert reappeared in a branch. */ post: operations["code-scanning-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened-by-user": { parameters: { @@ -401,8 +401,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.10/rest/code-scanning)" in the REST API documentation. * @@ -410,11 +410,11 @@ export interface webhooks { * @description Someone reopened a code scanning alert. */ post: operations["code-scanning-alert/reopened-by-user"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "commit-comment-created": { parameters: { @@ -423,8 +423,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-server@3.10/rest/commits/comments)" in the REST API documentation. * @@ -434,11 +434,11 @@ export interface webhooks { * @description Someone commented on a commit. */ post: operations["commit-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; create: { parameters: { @@ -447,8 +447,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git branch or tag is created. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. @@ -457,11 +457,11 @@ export interface webhooks { * - This event will not occur when more than three tags are created at once. * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. */ post: operations["create"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; delete: { parameters: { @@ -470,8 +470,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including * branch and tag deletions, use the [`push`](#push) webhook event. * @@ -479,11 +479,11 @@ export interface webhooks { * * **Note**: This event will not occur when more than three tags are deleted at once. */ post: operations["delete"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-created": { parameters: { @@ -492,8 +492,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -505,11 +505,11 @@ export interface webhooks { * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-dismissed": { parameters: { @@ -518,8 +518,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -531,11 +531,11 @@ export interface webhooks { * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-fixed": { parameters: { @@ -544,8 +544,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -557,11 +557,11 @@ export interface webhooks { * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reintroduced": { parameters: { @@ -570,8 +570,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -583,11 +583,11 @@ export interface webhooks { * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reopened": { parameters: { @@ -596,8 +596,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -609,11 +609,11 @@ export interface webhooks { * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-created": { parameters: { @@ -622,8 +622,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.10/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.10/rest/deploy-keys)" in the REST API documentation. * @@ -631,11 +631,11 @@ export interface webhooks { * @description A deploy key was created. */ post: operations["deploy-key/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-deleted": { parameters: { @@ -644,8 +644,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.10/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.10/rest/deploy-keys)" in the REST API documentation. * @@ -653,11 +653,11 @@ export interface webhooks { * @description A deploy key was deleted. */ post: operations["deploy-key/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-created": { parameters: { @@ -666,8 +666,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.10/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments)" in the REST API documentation. * @@ -677,11 +677,11 @@ export interface webhooks { * @description A deployment was created. */ post: operations["deployment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-protection-rule-requested": { parameters: { @@ -690,8 +690,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment protection rules. For more information, see "[Using environments for deployment](https://docs.github.com/enterprise-server@3.10/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules)." For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.10/rest/deployments/environments). * @@ -699,11 +699,11 @@ export interface webhooks { * @description A deployment protection rule was requested for an environment. */ post: operations["deployment-protection-rule/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-approved": { parameters: { @@ -712,8 +712,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.10/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments)" in the REST API documentation. * @@ -723,11 +723,11 @@ export interface webhooks { * @description A deployment review was approved. */ post: operations["deployment-review/approved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-rejected": { parameters: { @@ -736,8 +736,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.10/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments)" in the REST API documentation. * @@ -747,11 +747,11 @@ export interface webhooks { * @description A deployment review was rejected. */ post: operations["deployment-review/rejected"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-requested": { parameters: { @@ -760,8 +760,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.10/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments)" in the REST API documentation. * @@ -771,11 +771,11 @@ export interface webhooks { * @description A deployment review was requested. */ post: operations["deployment-review/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-status-created": { parameters: { @@ -784,8 +784,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.10/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments)" in the REST API documentation. * @@ -795,11 +795,11 @@ export interface webhooks { * @description A new deployment status was created. */ post: operations["deployment-status/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-answered": { parameters: { @@ -808,8 +808,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -821,11 +821,11 @@ export interface webhooks { * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-category-changed": { parameters: { @@ -834,8 +834,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -847,11 +847,11 @@ export interface webhooks { * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-closed": { parameters: { @@ -860,8 +860,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -873,11 +873,11 @@ export interface webhooks { * @description A discussion was closed. */ post: operations["discussion/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-created": { parameters: { @@ -886,8 +886,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -899,11 +899,11 @@ export interface webhooks { * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-deleted": { parameters: { @@ -912,8 +912,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -925,11 +925,11 @@ export interface webhooks { * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-edited": { parameters: { @@ -938,8 +938,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -951,11 +951,11 @@ export interface webhooks { * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-created": { parameters: { @@ -964,8 +964,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -977,11 +977,11 @@ export interface webhooks { * @description A discussion was created. */ post: operations["discussion/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-deleted": { parameters: { @@ -990,8 +990,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -1003,11 +1003,11 @@ export interface webhooks { * @description A discussion was deleted. */ post: operations["discussion/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-edited": { parameters: { @@ -1016,8 +1016,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -1029,11 +1029,11 @@ export interface webhooks { * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-labeled": { parameters: { @@ -1042,8 +1042,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -1055,11 +1055,11 @@ export interface webhooks { * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-locked": { parameters: { @@ -1068,8 +1068,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -1081,11 +1081,11 @@ export interface webhooks { * @description A discussion was locked. */ post: operations["discussion/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-pinned": { parameters: { @@ -1094,8 +1094,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -1107,11 +1107,11 @@ export interface webhooks { * @description A discussion was pinned. */ post: operations["discussion/pinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-reopened": { parameters: { @@ -1120,8 +1120,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -1133,11 +1133,11 @@ export interface webhooks { * @description A discussion was reopened. */ post: operations["discussion/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-transferred": { parameters: { @@ -1146,8 +1146,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -1159,11 +1159,11 @@ export interface webhooks { * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unanswered": { parameters: { @@ -1172,8 +1172,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -1185,11 +1185,11 @@ export interface webhooks { * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlabeled": { parameters: { @@ -1198,8 +1198,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -1211,11 +1211,11 @@ export interface webhooks { * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlocked": { parameters: { @@ -1224,8 +1224,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -1237,11 +1237,11 @@ export interface webhooks { * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unpinned": { parameters: { @@ -1250,8 +1250,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.10/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#discussion). * @@ -1263,11 +1263,11 @@ export interface webhooks { * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "enterprise-anonymous-access-disabled": { parameters: { @@ -1276,18 +1276,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.10/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was disabled. */ post: operations["enterprise/anonymous-access-disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "enterprise-anonymous-access-enabled": { parameters: { @@ -1296,18 +1296,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.10/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was enabled. */ post: operations["enterprise/anonymous-access-enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; fork: { parameters: { @@ -1316,17 +1316,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.10/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.10/rest/repos/forks)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["fork"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "github-app-authorization-revoked": { parameters: { @@ -1335,8 +1335,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. * @@ -1346,11 +1346,11 @@ export interface webhooks { * @description Someone revoked their authorization of a GitHub App. */ post: operations["github-app-authorization/revoked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; gollum: { parameters: { @@ -1359,17 +1359,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.10/communities/documenting-your-project-with-wikis/about-wikis)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["gollum"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-created": { parameters: { @@ -1378,8 +1378,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1387,11 +1387,11 @@ export interface webhooks { * @description Someone installed a GitHub App on a user or organization account. */ post: operations["installation/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-deleted": { parameters: { @@ -1400,8 +1400,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1409,11 +1409,11 @@ export interface webhooks { * @description Someone uninstalled a GitHub App from their user or organization account. */ post: operations["installation/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-new-permissions-accepted": { parameters: { @@ -1422,8 +1422,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1431,11 +1431,11 @@ export interface webhooks { * @description Someone granted new permissions to a GitHub App. */ post: operations["installation/new-permissions-accepted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-added": { parameters: { @@ -1444,8 +1444,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1453,11 +1453,11 @@ export interface webhooks { * @description A GitHub App installation was granted access to one or more repositories. */ post: operations["installation-repositories/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-removed": { parameters: { @@ -1466,8 +1466,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1475,11 +1475,11 @@ export interface webhooks { * @description Access to one or more repositories was revoked for a GitHub App installation. */ post: operations["installation-repositories/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-suspend": { parameters: { @@ -1488,8 +1488,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1497,11 +1497,11 @@ export interface webhooks { * @description Someone blocked access by a GitHub App to their user or organization account. */ post: operations["installation/suspend"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-target-renamed": { parameters: { @@ -1510,18 +1510,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.10/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.10/rest/apps)" in the REST API documentation. * @description Somebody renamed the user or organization account that a GitHub App is installed on. */ post: operations["installation-target/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-unsuspend": { parameters: { @@ -1530,8 +1530,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1539,11 +1539,11 @@ export interface webhooks { * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. */ post: operations["installation/unsuspend"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-created": { parameters: { @@ -1552,8 +1552,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.10/rest/issues/comments)" in the REST API documentation. * @@ -1563,11 +1563,11 @@ export interface webhooks { * @description A comment on an issue or pull request was created. */ post: operations["issue-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-deleted": { parameters: { @@ -1576,8 +1576,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.10/rest/issues/comments)" in the REST API documentation. * @@ -1587,11 +1587,11 @@ export interface webhooks { * @description A comment on an issue or pull request was deleted. */ post: operations["issue-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-edited": { parameters: { @@ -1600,8 +1600,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.10/rest/issues/comments)" in the REST API documentation. * @@ -1611,11 +1611,11 @@ export interface webhooks { * @description A comment on an issue or pull request was edited. */ post: operations["issue-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-assigned": { parameters: { @@ -1624,8 +1624,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * @@ -1635,11 +1635,11 @@ export interface webhooks { * @description An issue was assigned to a user. */ post: operations["issues/assigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-closed": { parameters: { @@ -1648,8 +1648,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * @@ -1659,11 +1659,11 @@ export interface webhooks { * @description An issue was closed. */ post: operations["issues/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-deleted": { parameters: { @@ -1672,8 +1672,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * @@ -1683,11 +1683,11 @@ export interface webhooks { * @description An issue was deleted. */ post: operations["issues/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-demilestoned": { parameters: { @@ -1696,8 +1696,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * @@ -1707,11 +1707,11 @@ export interface webhooks { * @description An issue was removed from a milestone. */ post: operations["issues/demilestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-edited": { parameters: { @@ -1720,8 +1720,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * @@ -1731,11 +1731,11 @@ export interface webhooks { * @description The title or body on an issue was edited. */ post: operations["issues/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-labeled": { parameters: { @@ -1744,8 +1744,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * @@ -1755,11 +1755,11 @@ export interface webhooks { * @description A label was added to an issue. */ post: operations["issues/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-locked": { parameters: { @@ -1768,8 +1768,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * @@ -1779,11 +1779,11 @@ export interface webhooks { * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.10/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-milestoned": { parameters: { @@ -1792,8 +1792,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * @@ -1803,11 +1803,11 @@ export interface webhooks { * @description An issue was added to a milestone. */ post: operations["issues/milestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-opened": { parameters: { @@ -1816,8 +1816,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * @@ -1827,11 +1827,11 @@ export interface webhooks { * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. */ post: operations["issues/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-pinned": { parameters: { @@ -1840,8 +1840,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * @@ -1851,11 +1851,11 @@ export interface webhooks { * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/pinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-reopened": { parameters: { @@ -1864,8 +1864,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * @@ -1875,11 +1875,11 @@ export interface webhooks { * @description A closed issue was reopened. */ post: operations["issues/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-transferred": { parameters: { @@ -1888,8 +1888,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * @@ -1899,11 +1899,11 @@ export interface webhooks { * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." */ post: operations["issues/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unassigned": { parameters: { @@ -1912,8 +1912,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * @@ -1923,11 +1923,11 @@ export interface webhooks { * @description A user was unassigned from an issue. */ post: operations["issues/unassigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlabeled": { parameters: { @@ -1936,8 +1936,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * @@ -1947,11 +1947,11 @@ export interface webhooks { * @description A label was removed from an issue. */ post: operations["issues/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlocked": { parameters: { @@ -1960,8 +1960,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * @@ -1971,11 +1971,11 @@ export interface webhooks { * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.10/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unpinned": { parameters: { @@ -1984,8 +1984,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.10/rest/issues)" in the REST API documentation. * @@ -1995,11 +1995,11 @@ export interface webhooks { * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.10/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/unpinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-created": { parameters: { @@ -2008,8 +2008,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.10/rest/issues/labels)" in the REST API documentation. * @@ -2019,11 +2019,11 @@ export interface webhooks { * @description A label was created. */ post: operations["label/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-deleted": { parameters: { @@ -2032,8 +2032,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.10/rest/issues/labels)" in the REST API documentation. * @@ -2043,11 +2043,11 @@ export interface webhooks { * @description A label was deleted. */ post: operations["label/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-edited": { parameters: { @@ -2056,8 +2056,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.10/rest/issues/labels)" in the REST API documentation. * @@ -2067,11 +2067,11 @@ export interface webhooks { * @description A label's name, description, or color was changed. */ post: operations["label/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-added": { parameters: { @@ -2080,8 +2080,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.10/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2089,11 +2089,11 @@ export interface webhooks { * @description A GitHub user accepted an invitation to a repository. */ post: operations["member/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-edited": { parameters: { @@ -2102,8 +2102,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.10/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2111,11 +2111,11 @@ export interface webhooks { * @description Permissions were changed for a collaborator on a repository. */ post: operations["member/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-removed": { parameters: { @@ -2124,8 +2124,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.10/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.10/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2133,11 +2133,11 @@ export interface webhooks { * @description A collaborator was removed from a repository. */ post: operations["member/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-added": { parameters: { @@ -2146,8 +2146,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.10/rest/teams/members)" in the REST API documentation. * @@ -2155,11 +2155,11 @@ export interface webhooks { * @description An organization member was added to a team. */ post: operations["membership/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-removed": { parameters: { @@ -2168,8 +2168,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.10/rest/teams/members)" in the REST API documentation. * @@ -2177,11 +2177,11 @@ export interface webhooks { * @description An organization member was removed from a team. */ post: operations["membership/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "meta-deleted": { parameters: { @@ -2190,8 +2190,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a webhook itself. * @@ -2199,11 +2199,11 @@ export interface webhooks { * @description The webhook was deleted. */ post: operations["meta/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-closed": { parameters: { @@ -2212,8 +2212,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.10/rest/issues/milestones)" in the REST API documentation. * @@ -2223,11 +2223,11 @@ export interface webhooks { * @description A milestone was closed. */ post: operations["milestone/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-created": { parameters: { @@ -2236,8 +2236,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.10/rest/issues/milestones)" in the REST API documentation. * @@ -2247,11 +2247,11 @@ export interface webhooks { * @description A milestone was created. */ post: operations["milestone/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-deleted": { parameters: { @@ -2260,8 +2260,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.10/rest/issues/milestones)" in the REST API documentation. * @@ -2271,11 +2271,11 @@ export interface webhooks { * @description A milestone was deleted. */ post: operations["milestone/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-edited": { parameters: { @@ -2284,8 +2284,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.10/rest/issues/milestones)" in the REST API documentation. * @@ -2295,11 +2295,11 @@ export interface webhooks { * @description A milestone was edited. */ post: operations["milestone/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-opened": { parameters: { @@ -2308,8 +2308,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.10/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.10/rest/issues/milestones)" in the REST API documentation. * @@ -2319,11 +2319,11 @@ export interface webhooks { * @description A milestone was opened. */ post: operations["milestone/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-deleted": { parameters: { @@ -2332,8 +2332,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.10/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.10/rest/orgs)" in the REST API documentation. * @@ -2343,11 +2343,11 @@ export interface webhooks { * @description An organization was deleted. */ post: operations["organization/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-added": { parameters: { @@ -2356,8 +2356,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.10/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.10/rest/orgs)" in the REST API documentation. * @@ -2367,11 +2367,11 @@ export interface webhooks { * @description A member accepted an invitation to join an organization. */ post: operations["organization/member-added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-invited": { parameters: { @@ -2380,8 +2380,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.10/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.10/rest/orgs)" in the REST API documentation. * @@ -2391,11 +2391,11 @@ export interface webhooks { * @description A member was invited to join the organization. */ post: operations["organization/member-invited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-removed": { parameters: { @@ -2404,8 +2404,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.10/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.10/rest/orgs)" in the REST API documentation. * @@ -2415,11 +2415,11 @@ export interface webhooks { * @description A member was removed from the organization. */ post: operations["organization/member-removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-renamed": { parameters: { @@ -2428,8 +2428,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.10/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.10/rest/orgs)" in the REST API documentation. * @@ -2439,11 +2439,11 @@ export interface webhooks { * @description The name of an organization was changed. */ post: operations["organization/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-published": { parameters: { @@ -2452,8 +2452,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.10/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.10/rest/packages)" in the REST API documentation. * @@ -2461,11 +2461,11 @@ export interface webhooks { * @description A package was published to a registry. */ post: operations["package/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-updated": { parameters: { @@ -2474,8 +2474,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.10/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.10/rest/packages)" in the REST API documentation. * @@ -2483,11 +2483,11 @@ export interface webhooks { * @description A previously published package was updated. */ post: operations["package/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "page-build": { parameters: { @@ -2496,17 +2496,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.10/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.10/rest/pages)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. */ post: operations["page-build"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-approved": { parameters: { @@ -2515,8 +2515,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.10/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * @@ -2526,11 +2526,11 @@ export interface webhooks { * @description A fine-grained personal access token request was approved. */ post: operations["personal-access-token-request/approved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-cancelled": { parameters: { @@ -2539,8 +2539,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.10/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * @@ -2550,11 +2550,11 @@ export interface webhooks { * @description A fine-grained personal access token request was cancelled by the requester. */ post: operations["personal-access-token-request/cancelled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-created": { parameters: { @@ -2563,8 +2563,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.10/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * @@ -2574,11 +2574,11 @@ export interface webhooks { * @description A fine-grained personal access token request was created. */ post: operations["personal-access-token-request/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-denied": { parameters: { @@ -2587,8 +2587,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.10/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * @@ -2598,11 +2598,11 @@ export interface webhooks { * @description A fine-grained personal access token request was denied. */ post: operations["personal-access-token-request/denied"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; ping: { parameters: { @@ -2611,15 +2611,15 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ post: operations["ping"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-converted": { parameters: { @@ -2628,8 +2628,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * @@ -2639,11 +2639,11 @@ export interface webhooks { * @description A note in a classic project was converted to an issue. */ post: operations["project-card/converted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-created": { parameters: { @@ -2652,8 +2652,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * @@ -2663,11 +2663,11 @@ export interface webhooks { * @description A card was added to a classic project. */ post: operations["project-card/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-deleted": { parameters: { @@ -2676,8 +2676,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * @@ -2687,11 +2687,11 @@ export interface webhooks { * @description A card on a classic project was deleted. */ post: operations["project-card/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-edited": { parameters: { @@ -2700,8 +2700,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * @@ -2711,11 +2711,11 @@ export interface webhooks { * @description A note on a classic project was edited. */ post: operations["project-card/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-moved": { parameters: { @@ -2724,8 +2724,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * @@ -2735,11 +2735,11 @@ export interface webhooks { * @description A card on a classic project was moved to another column or to another position in its column. */ post: operations["project-card/moved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-closed": { parameters: { @@ -2748,8 +2748,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * @@ -2759,11 +2759,11 @@ export interface webhooks { * @description A classic project was closed. */ post: operations["project/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-created": { parameters: { @@ -2772,8 +2772,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * @@ -2783,11 +2783,11 @@ export interface webhooks { * @description A column was added to a classic project. */ post: operations["project-column/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-deleted": { parameters: { @@ -2796,8 +2796,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * @@ -2807,11 +2807,11 @@ export interface webhooks { * @description A column was deleted from a classic project. */ post: operations["project-column/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-edited": { parameters: { @@ -2820,8 +2820,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * @@ -2831,11 +2831,11 @@ export interface webhooks { * @description The name of a column on a classic project was changed. */ post: operations["project-column/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-moved": { parameters: { @@ -2844,8 +2844,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * @@ -2855,11 +2855,11 @@ export interface webhooks { * @description A column was moved to a new position on a classic project. */ post: operations["project-column/moved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-created": { parameters: { @@ -2868,8 +2868,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * @@ -2879,11 +2879,11 @@ export interface webhooks { * @description A classic project was created. */ post: operations["project/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-deleted": { parameters: { @@ -2892,8 +2892,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * @@ -2903,11 +2903,11 @@ export interface webhooks { * @description A classic project was deleted. */ post: operations["project/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-edited": { parameters: { @@ -2916,8 +2916,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * @@ -2927,11 +2927,11 @@ export interface webhooks { * @description The name or description of a classic project was changed. */ post: operations["project/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-reopened": { parameters: { @@ -2940,8 +2940,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.10/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.10/rest/projects)" in the REST API documentation. * @@ -2951,11 +2951,11 @@ export interface webhooks { * @description A classic project was closed. */ post: operations["project/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-closed": { parameters: { @@ -2964,8 +2964,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2). * @@ -2977,11 +2977,11 @@ export interface webhooks { * @description A project in the organization was closed. */ post: operations["projects-v2/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-created": { parameters: { @@ -2990,8 +2990,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2). * @@ -3003,11 +3003,11 @@ export interface webhooks { * @description A project in the organization was created. */ post: operations["projects-v2/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-deleted": { parameters: { @@ -3016,8 +3016,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2). * @@ -3029,11 +3029,11 @@ export interface webhooks { * @description A project in the organization was deleted. */ post: operations["projects-v2/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-edited": { parameters: { @@ -3042,8 +3042,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2). * @@ -3055,11 +3055,11 @@ export interface webhooks { * @description The title, description, or README of a project in the organization was changed. */ post: operations["projects-v2/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-archived": { parameters: { @@ -3068,8 +3068,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). * @@ -3081,11 +3081,11 @@ export interface webhooks { * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/archived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-converted": { parameters: { @@ -3094,8 +3094,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). * @@ -3107,11 +3107,11 @@ export interface webhooks { * @description A draft issue in an organization project was converted to an issue. */ post: operations["projects-v2-item/converted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-created": { parameters: { @@ -3120,8 +3120,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). * @@ -3133,11 +3133,11 @@ export interface webhooks { * @description An item was added to a project in the organization. */ post: operations["projects-v2-item/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-deleted": { parameters: { @@ -3146,8 +3146,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). * @@ -3159,11 +3159,11 @@ export interface webhooks { * @description An item was deleted from a project in the organization. */ post: operations["projects-v2-item/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-edited": { parameters: { @@ -3172,8 +3172,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). * @@ -3185,11 +3185,11 @@ export interface webhooks { * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. */ post: operations["projects-v2-item/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-reordered": { parameters: { @@ -3198,8 +3198,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). * @@ -3211,11 +3211,11 @@ export interface webhooks { * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. */ post: operations["projects-v2-item/reordered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-restored": { parameters: { @@ -3224,8 +3224,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2item). * @@ -3237,11 +3237,11 @@ export interface webhooks { * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/restored"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-reopened": { parameters: { @@ -3250,8 +3250,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.10/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#projectv2). * @@ -3263,11 +3263,11 @@ export interface webhooks { * @description A project in the organization was reopened. */ post: operations["projects-v2/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; public: { parameters: { @@ -3276,17 +3276,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. */ post: operations["public"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-assigned": { parameters: { @@ -3295,8 +3295,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3306,11 +3306,11 @@ export interface webhooks { * @description A pull request was assigned to a user. */ post: operations["pull-request/assigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-disabled": { parameters: { @@ -3319,8 +3319,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3330,11 +3330,11 @@ export interface webhooks { * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-enabled": { parameters: { @@ -3343,8 +3343,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3354,11 +3354,11 @@ export interface webhooks { * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-closed": { parameters: { @@ -3367,8 +3367,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3378,11 +3378,11 @@ export interface webhooks { * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. */ post: operations["pull-request/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-converted-to-draft": { parameters: { @@ -3391,8 +3391,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3402,11 +3402,11 @@ export interface webhooks { * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/converted-to-draft"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-demilestoned": { parameters: { @@ -3415,8 +3415,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3426,11 +3426,11 @@ export interface webhooks { * @description A pull request was removed from a milestone. */ post: operations["pull-request/demilestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-edited": { parameters: { @@ -3439,8 +3439,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3450,11 +3450,11 @@ export interface webhooks { * @description The title or body of a pull request was edited. */ post: operations["pull-request/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-labeled": { parameters: { @@ -3463,8 +3463,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3474,11 +3474,11 @@ export interface webhooks { * @description A label was added to a pull request. */ post: operations["pull-request/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-locked": { parameters: { @@ -3487,8 +3487,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3498,11 +3498,11 @@ export interface webhooks { * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.10/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-milestoned": { parameters: { @@ -3511,8 +3511,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3522,11 +3522,11 @@ export interface webhooks { * @description A pull request was added to a milestone. */ post: operations["pull-request/milestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-opened": { parameters: { @@ -3535,8 +3535,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3546,11 +3546,11 @@ export interface webhooks { * @description A pull request was created */ post: operations["pull-request/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-ready-for-review": { parameters: { @@ -3559,8 +3559,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3570,11 +3570,11 @@ export interface webhooks { * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/ready-for-review"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-reopened": { parameters: { @@ -3583,8 +3583,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3594,11 +3594,11 @@ export interface webhooks { * @description A previously closed pull request was reopened. */ post: operations["pull-request/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-created": { parameters: { @@ -3607,8 +3607,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments)" in the REST API documentation. * @@ -3618,11 +3618,11 @@ export interface webhooks { * @description A comment on a pull request diff was created. */ post: operations["pull-request-review-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-deleted": { parameters: { @@ -3631,8 +3631,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments)" in the REST API documentation. * @@ -3642,11 +3642,11 @@ export interface webhooks { * @description A comment on a pull request diff was deleted. */ post: operations["pull-request-review-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-edited": { parameters: { @@ -3655,8 +3655,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments)" in the REST API documentation. * @@ -3666,11 +3666,11 @@ export interface webhooks { * @description The content of a comment on a pull request diff was changed. */ post: operations["pull-request-review-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-dismissed": { parameters: { @@ -3679,8 +3679,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews)" in the REST API documentation. * @@ -3690,11 +3690,11 @@ export interface webhooks { * @description A review on a pull request was dismissed. */ post: operations["pull-request-review/dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-edited": { parameters: { @@ -3703,8 +3703,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews)" in the REST API documentation. * @@ -3714,11 +3714,11 @@ export interface webhooks { * @description The body comment on a pull request review was edited. */ post: operations["pull-request-review/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-request-removed": { parameters: { @@ -3727,8 +3727,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3738,11 +3738,11 @@ export interface webhooks { * @description A request for review by a person or team was removed from a pull request. */ post: operations["pull-request/review-request-removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-requested": { parameters: { @@ -3751,8 +3751,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3762,11 +3762,11 @@ export interface webhooks { * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." */ post: operations["pull-request/review-requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-submitted": { parameters: { @@ -3775,8 +3775,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews)" in the REST API documentation. * @@ -3786,11 +3786,11 @@ export interface webhooks { * @description A review on a pull request was submitted. */ post: operations["pull-request-review/submitted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-resolved": { parameters: { @@ -3799,8 +3799,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments)" in the REST API documentation. * @@ -3810,11 +3810,11 @@ export interface webhooks { * @description A comment thread on a pull request was marked as resolved. */ post: operations["pull-request-review-thread/resolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-unresolved": { parameters: { @@ -3823,8 +3823,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments)" in the REST API documentation. * @@ -3834,11 +3834,11 @@ export interface webhooks { * @description A previously resolved comment thread on a pull request was marked as unresolved. */ post: operations["pull-request-review-thread/unresolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-synchronize": { parameters: { @@ -3847,8 +3847,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3858,11 +3858,11 @@ export interface webhooks { * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. */ post: operations["pull-request/synchronize"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unassigned": { parameters: { @@ -3871,8 +3871,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3882,11 +3882,11 @@ export interface webhooks { * @description A user was unassigned from a pull request. */ post: operations["pull-request/unassigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlabeled": { parameters: { @@ -3895,8 +3895,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3906,11 +3906,11 @@ export interface webhooks { * @description A label was removed from a pull request. */ post: operations["pull-request/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlocked": { parameters: { @@ -3919,8 +3919,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)" in the REST API documentation. * @@ -3930,11 +3930,11 @@ export interface webhooks { * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.10/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; push: { parameters: { @@ -3943,8 +3943,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch * and tag deletions, use the [`delete`](#delete) webhook event. @@ -3953,11 +3953,11 @@ export interface webhooks { * * **Note**: An event will not be created when more than three tags are pushed at once. */ post: operations["push"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-published": { parameters: { @@ -3966,8 +3966,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.10/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.10/rest/packages)" in the REST API documentation. * @@ -3977,11 +3977,11 @@ export interface webhooks { * @description A package was published to a registry. */ post: operations["registry-package/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-updated": { parameters: { @@ -3990,8 +3990,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.10/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.10/rest/packages)" in the REST API documentation. * @@ -4001,11 +4001,11 @@ export interface webhooks { * @description A package that was previously published to a registry was updated. */ post: operations["registry-package/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-created": { parameters: { @@ -4014,8 +4014,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. * @@ -4023,11 +4023,11 @@ export interface webhooks { * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. */ post: operations["release/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-deleted": { parameters: { @@ -4036,8 +4036,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. * @@ -4045,11 +4045,11 @@ export interface webhooks { * @description A release, pre-release, or draft release was deleted. */ post: operations["release/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-edited": { parameters: { @@ -4058,8 +4058,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. * @@ -4067,11 +4067,11 @@ export interface webhooks { * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." */ post: operations["release/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-prereleased": { parameters: { @@ -4080,8 +4080,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. * @@ -4089,11 +4089,11 @@ export interface webhooks { * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. */ post: operations["release/prereleased"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-published": { parameters: { @@ -4102,8 +4102,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. * @@ -4111,11 +4111,11 @@ export interface webhooks { * @description A release, pre-release, or draft of a release was published. */ post: operations["release/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-released": { parameters: { @@ -4124,8 +4124,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. * @@ -4133,11 +4133,11 @@ export interface webhooks { * @description A release was published, or a pre-release was changed to a release. */ post: operations["release/released"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-unpublished": { parameters: { @@ -4146,8 +4146,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.10/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.10/rest/releases)" in the REST API documentation. * @@ -4155,11 +4155,11 @@ export interface webhooks { * @description A release or pre-release was unpublished. */ post: operations["release/unpublished"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-anonymous-access-disabled": { parameters: { @@ -4168,8 +4168,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * @@ -4177,11 +4177,11 @@ export interface webhooks { * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-anonymous-access-enabled": { parameters: { @@ -4190,8 +4190,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * @@ -4199,11 +4199,11 @@ export interface webhooks { * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-archived": { parameters: { @@ -4212,8 +4212,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * @@ -4221,11 +4221,11 @@ export interface webhooks { * @description A repository was archived. */ post: operations["repository/archived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-created": { parameters: { @@ -4234,8 +4234,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * @@ -4243,11 +4243,11 @@ export interface webhooks { * @description A repository was created. */ post: operations["repository/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-deleted": { parameters: { @@ -4256,8 +4256,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * @@ -4265,11 +4265,11 @@ export interface webhooks { * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. */ post: operations["repository/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-dispatch-sample.collected": { parameters: { @@ -4278,8 +4278,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.10/rest/repos/repos#create-a-repository-dispatch-event). * @@ -4287,11 +4287,11 @@ export interface webhooks { * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. */ post: operations["repository-dispatch/sample.collected"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-edited": { parameters: { @@ -4300,8 +4300,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * @@ -4309,11 +4309,11 @@ export interface webhooks { * @description The topics, default branch, description, or homepage of a repository was changed. */ post: operations["repository/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-privatized": { parameters: { @@ -4322,8 +4322,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * @@ -4331,11 +4331,11 @@ export interface webhooks { * @description The visibility of a repository was changed to `private`. */ post: operations["repository/privatized"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-publicized": { parameters: { @@ -4344,8 +4344,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * @@ -4353,11 +4353,11 @@ export interface webhooks { * @description The visibility of a repository was changed to `public`. */ post: operations["repository/publicized"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-renamed": { parameters: { @@ -4366,8 +4366,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * @@ -4375,11 +4375,11 @@ export interface webhooks { * @description The name of a repository was changed. */ post: operations["repository/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-transferred": { parameters: { @@ -4388,8 +4388,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * @@ -4397,11 +4397,11 @@ export interface webhooks { * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. */ post: operations["repository/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-unarchived": { parameters: { @@ -4410,8 +4410,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.10/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.10/rest/repos)" in the REST API documentation. * @@ -4419,11 +4419,11 @@ export interface webhooks { * @description A previously archived repository was unarchived. */ post: operations["repository/unarchived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-create": { parameters: { @@ -4432,8 +4432,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4441,11 +4441,11 @@ export interface webhooks { * @description A repository vulnerability alert was created. */ post: operations["repository-vulnerability-alert/create"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-dismiss": { parameters: { @@ -4454,8 +4454,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4463,11 +4463,11 @@ export interface webhooks { * @description A repository vulnerability alert was dismissed. */ post: operations["repository-vulnerability-alert/dismiss"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-reopen": { parameters: { @@ -4476,8 +4476,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4485,11 +4485,11 @@ export interface webhooks { * @description A previously dismissed or resolved repository vulnerability alert was reopened. */ post: operations["repository-vulnerability-alert/reopen"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-resolve": { parameters: { @@ -4498,8 +4498,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4507,11 +4507,11 @@ export interface webhooks { * @description A repository vulnerability alert was marked as resolved. */ post: operations["repository-vulnerability-alert/resolve"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-created": { parameters: { @@ -4520,8 +4520,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.10/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.10/rest/secret-scanning)" in the REST API documentation. * @@ -4531,11 +4531,11 @@ export interface webhooks { * @description A secret scanning alert was created. */ post: operations["secret-scanning-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-location-created": { parameters: { @@ -4544,8 +4544,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. * @@ -4557,11 +4557,11 @@ export interface webhooks { * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. */ post: operations["secret-scanning-alert-location/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-reopened": { parameters: { @@ -4570,8 +4570,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.10/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.10/rest/secret-scanning)" in the REST API documentation. * @@ -4581,11 +4581,11 @@ export interface webhooks { * @description A previously closed secret scanning alert was reopened. */ post: operations["secret-scanning-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-resolved": { parameters: { @@ -4594,8 +4594,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.10/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.10/rest/secret-scanning)" in the REST API documentation. * @@ -4605,11 +4605,11 @@ export interface webhooks { * @description A secret scanning alert was closed. */ post: operations["secret-scanning-alert/resolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-revoked": { parameters: { @@ -4618,8 +4618,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.10/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.10/rest/secret-scanning)" in the REST API documentation. * @@ -4629,11 +4629,11 @@ export interface webhooks { * @description A secret scanning alert was marked as revoked. */ post: operations["secret-scanning-alert/revoked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-published": { parameters: { @@ -4642,8 +4642,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.10/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#securityadvisory). * @@ -4651,11 +4651,11 @@ export interface webhooks { * @description A security advisory was published to the GitHub community. */ post: operations["security-advisory/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-updated": { parameters: { @@ -4664,8 +4664,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.10/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#securityadvisory). * @@ -4673,11 +4673,11 @@ export interface webhooks { * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. */ post: operations["security-advisory/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-withdrawn": { parameters: { @@ -4686,8 +4686,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.10/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#securityadvisory). * @@ -4695,11 +4695,11 @@ export interface webhooks { * @description A previously published security advisory was withdrawn. */ post: operations["security-advisory/withdrawn"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-and-analysis": { parameters: { @@ -4708,17 +4708,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.10/code-security/getting-started/github-security-features)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. */ post: operations["security-and-analysis"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-cancelled": { parameters: { @@ -4727,8 +4727,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). * @@ -4738,11 +4738,11 @@ export interface webhooks { * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/cancelled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-created": { parameters: { @@ -4751,8 +4751,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). * @@ -4760,11 +4760,11 @@ export interface webhooks { * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. */ post: operations["sponsorship/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-edited": { parameters: { @@ -4773,8 +4773,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). * @@ -4782,11 +4782,11 @@ export interface webhooks { * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. */ post: operations["sponsorship/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-cancellation": { parameters: { @@ -4795,8 +4795,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). * @@ -4806,11 +4806,11 @@ export interface webhooks { * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/pending-cancellation"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-tier-change": { parameters: { @@ -4819,8 +4819,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). * @@ -4828,11 +4828,11 @@ export interface webhooks { * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. */ post: operations["sponsorship/pending-tier-change"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-tier-changed": { parameters: { @@ -4841,8 +4841,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.10/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#sponsorship). * @@ -4850,11 +4850,11 @@ export interface webhooks { * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. */ post: operations["sponsorship/tier-changed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-created": { parameters: { @@ -4863,8 +4863,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.10/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.10/rest/activity/starring)" in the REST API documentation. * @@ -4872,11 +4872,11 @@ export interface webhooks { * @description Someone starred a repository. */ post: operations["star/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-deleted": { parameters: { @@ -4885,8 +4885,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.10/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.10/rest/activity/starring)" in the REST API documentation. * @@ -4894,11 +4894,11 @@ export interface webhooks { * @description Someone unstarred the repository. */ post: operations["star/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; status: { parameters: { @@ -4907,17 +4907,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.10/rest/commits/statuses)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. */ post: operations["status"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-add": { parameters: { @@ -4926,8 +4926,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a team is added to a repository. * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." * @@ -4935,11 +4935,11 @@ export interface webhooks { * * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. */ post: operations["team-add"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-added-to-repository": { parameters: { @@ -4948,8 +4948,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." @@ -4958,11 +4958,11 @@ export interface webhooks { * @description A team was granted access to a repository. */ post: operations["team/added-to-repository"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-created": { parameters: { @@ -4971,8 +4971,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." @@ -4981,11 +4981,11 @@ export interface webhooks { * @description A team was created. */ post: operations["team/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-deleted": { parameters: { @@ -4994,8 +4994,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." @@ -5004,11 +5004,11 @@ export interface webhooks { * @description A team was deleted. */ post: operations["team/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-edited": { parameters: { @@ -5017,8 +5017,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." @@ -5027,11 +5027,11 @@ export interface webhooks { * @description The name, description, or visibility of a team was changed. */ post: operations["team/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-removed-from-repository": { parameters: { @@ -5040,8 +5040,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.10/organizations/organizing-members-into-teams/about-teams)." @@ -5050,11 +5050,11 @@ export interface webhooks { * @description A team's access to a repository was removed. */ post: operations["team/removed-from-repository"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "user-created": { parameters: { @@ -5063,18 +5063,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was added to the enterprise. */ post: operations["user/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "user-deleted": { parameters: { @@ -5083,18 +5083,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was removed from the enterprise. */ post: operations["user/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "watch-started": { parameters: { @@ -5103,8 +5103,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-server@3.10/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-server@3.10/rest/activity/watching)" in the REST API documentation. * @@ -5112,11 +5112,11 @@ export interface webhooks { * @description Someone started watching the repository. */ post: operations["watch/started"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-dispatch": { parameters: { @@ -5125,19 +5125,19 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.10/actions/managing-workflow-runs/manually-running-a-workflow)." * * For activity relating to workflow runs, use the `workflow_run` event. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["workflow-dispatch"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-completed": { parameters: { @@ -5146,8 +5146,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.10/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -5157,11 +5157,11 @@ export interface webhooks { * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. */ post: operations["workflow-job/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-in-progress": { parameters: { @@ -5170,8 +5170,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.10/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -5181,11 +5181,11 @@ export interface webhooks { * @description A job in a workflow run started processing on a runner. */ post: operations["workflow-job/in-progress"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-queued": { parameters: { @@ -5194,8 +5194,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.10/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -5205,11 +5205,11 @@ export interface webhooks { * @description A job in a workflow run was created. */ post: operations["workflow-job/queued"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-waiting": { parameters: { @@ -5218,8 +5218,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.10/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -5229,11 +5229,11 @@ export interface webhooks { * @description A job in a workflow run was created and is waiting for approvals. */ post: operations["workflow-job/waiting"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-completed": { parameters: { @@ -5242,8 +5242,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.10/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs)" in the REST API documentation. * @@ -5253,11 +5253,11 @@ export interface webhooks { * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. */ post: operations["workflow-run/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-in-progress": { parameters: { @@ -5266,8 +5266,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.10/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs)" in the REST API documentation. * @@ -5277,11 +5277,11 @@ export interface webhooks { * @description A workflow run started processing on a runner. */ post: operations["workflow-run/in-progress"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-requested": { parameters: { @@ -5290,8 +5290,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.10/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs)" in the REST API documentation. * @@ -5301,11 +5301,11 @@ export interface webhooks { * @description A workflow run was triggered. */ post: operations["workflow-run/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; } export interface components { @@ -6191,7 +6191,7 @@ export interface components { metadata?: string; contents?: string; deployments?: string; - [key: string]: string; + [key: string]: string | undefined; }; /** @description The list of events for the GitHub app */ events: string[]; @@ -27303,11 +27303,11 @@ export interface components { }; platform?: string; metadata?: { - [key: string]: string; + [key: string]: string | undefined; }; repo?: string; dependencies?: { - [key: string]: string; + [key: string]: string | undefined; }[]; commit_oid?: string; }; @@ -27591,37 +27591,37 @@ export interface components { /** @description New requested permissions, categorized by type of permission. */ permissions_added: { organization?: { - [key: string]: string; + [key: string]: string | undefined; }; repository?: { - [key: string]: string; + [key: string]: string | undefined; }; other?: { - [key: string]: string; + [key: string]: string | undefined; }; }; /** @description Requested permissions that elevate access for a previously approved request for access, categorized by type of permission. */ permissions_upgraded: { organization?: { - [key: string]: string; + [key: string]: string | undefined; }; repository?: { - [key: string]: string; + [key: string]: string | undefined; }; other?: { - [key: string]: string; + [key: string]: string | undefined; }; }; /** @description Permissions requested, categorized by type of permission. This field incorporates `permissions_added` and `permissions_upgraded`. */ permissions_result: { organization?: { - [key: string]: string; + [key: string]: string | undefined; }; repository?: { - [key: string]: string; + [key: string]: string | undefined; }; other?: { - [key: string]: string; + [key: string]: string | undefined; }; }; /** diff --git a/packages/openapi-webhooks-types-ghes-3.7/types.d.ts b/packages/openapi-webhooks-types-ghes-3.7/types.d.ts index e1f0307..42ebc1a 100644 --- a/packages/openapi-webhooks-types-ghes-3.7/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.7/types.d.ts @@ -12,8 +12,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.7/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.7/rest/branches/branch-protection)" in the REST API documentation. * @@ -21,11 +21,11 @@ export interface webhooks { * @description A branch protection rule was created. */ post: operations["branch-protection-rule/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-deleted": { parameters: { @@ -34,8 +34,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.7/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.7/rest/branches/branch-protection)" in the REST API documentation. * @@ -43,11 +43,11 @@ export interface webhooks { * @description A branch protection rule was deleted. */ post: operations["branch-protection-rule/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-edited": { parameters: { @@ -56,8 +56,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.7/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.7/rest/branches/branch-protection)" in the REST API documentation. * @@ -65,11 +65,11 @@ export interface webhooks { * @description A branch protection rule was edited. */ post: operations["branch-protection-rule/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "cache-sync": { parameters: { @@ -78,15 +78,15 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](https://docs.github.com/enterprise-server@3.7/admin/enterprise-management/caching-repositories/about-repository-caching)." */ post: operations["cache-sync"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-completed": { parameters: { @@ -95,8 +95,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.7/rest/checks/runs)" in the REST API documentation. * @@ -110,11 +110,11 @@ export interface webhooks { * @description A check run was completed, and a conclusion is available. */ post: operations["check-run/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-created": { parameters: { @@ -123,8 +123,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.7/rest/checks/runs)" in the REST API documentation. * @@ -138,11 +138,11 @@ export interface webhooks { * @description A new check run was created. */ post: operations["check-run/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-requested-action": { parameters: { @@ -151,8 +151,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.7/rest/checks/runs)" in the REST API documentation. * @@ -166,11 +166,11 @@ export interface webhooks { * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.7/developers/apps/guides/creating-ci-tests-with-the-checks-api)." */ post: operations["check-run/requested-action"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-rerequested": { parameters: { @@ -179,8 +179,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.7/rest/checks/runs)" in the REST API documentation. * @@ -194,11 +194,11 @@ export interface webhooks { * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. */ post: operations["check-run/rerequested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-completed": { parameters: { @@ -207,8 +207,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.7/rest/checks/suites)" in the REST API documentation. * @@ -222,11 +222,11 @@ export interface webhooks { * @description All check runs in a check suite have completed, and a conclusion is available. */ post: operations["check-suite/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-requested": { parameters: { @@ -235,8 +235,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.7/rest/checks/suites)" in the REST API documentation. * @@ -250,11 +250,11 @@ export interface webhooks { * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.7/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-server@3.7/rest/checks/runs#create-a-check-run)" in the REST API documentation. */ post: operations["check-suite/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-rerequested": { parameters: { @@ -263,8 +263,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.7/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.7/rest/checks/suites)" in the REST API documentation. * @@ -278,11 +278,11 @@ export interface webhooks { * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.7/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-server@3.7/rest/checks/suites#create-a-check-suite)" in the REST API documentation. */ post: operations["check-suite/rerequested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-appeared-in-branch": { parameters: { @@ -291,8 +291,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. * @@ -300,11 +300,11 @@ export interface webhooks { * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. */ post: operations["code-scanning-alert/appeared-in-branch"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-closed-by-user": { parameters: { @@ -313,8 +313,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. * @@ -322,11 +322,11 @@ export interface webhooks { * @description Someone closed a code scanning alert. */ post: operations["code-scanning-alert/closed-by-user"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-created": { parameters: { @@ -335,8 +335,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. * @@ -344,11 +344,11 @@ export interface webhooks { * @description A code scanning alert was created in a repository. */ post: operations["code-scanning-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-fixed": { parameters: { @@ -357,8 +357,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. * @@ -366,11 +366,11 @@ export interface webhooks { * @description A code scanning alert was fixed in a branch by a commit. */ post: operations["code-scanning-alert/fixed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened": { parameters: { @@ -379,8 +379,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. * @@ -388,11 +388,11 @@ export interface webhooks { * @description A previously fixed code scanning alert reappeared in a branch. */ post: operations["code-scanning-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened-by-user": { parameters: { @@ -401,8 +401,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.7/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.7/rest/code-scanning)" in the REST API documentation. * @@ -410,11 +410,11 @@ export interface webhooks { * @description Someone reopened a code scanning alert. */ post: operations["code-scanning-alert/reopened-by-user"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "commit-comment-created": { parameters: { @@ -423,8 +423,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-server@3.7/rest/commits/comments)" in the REST API documentation. * @@ -434,11 +434,11 @@ export interface webhooks { * @description Someone commented on a commit. */ post: operations["commit-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; create: { parameters: { @@ -447,8 +447,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git branch or tag is created. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. @@ -457,11 +457,11 @@ export interface webhooks { * - This event will not occur when more than three tags are created at once. * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. */ post: operations["create"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; delete: { parameters: { @@ -470,8 +470,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including * branch and tag deletions, use the [`push`](#push) webhook event. * @@ -479,11 +479,11 @@ export interface webhooks { * * **Note**: This event will not occur when more than three tags are deleted at once. */ post: operations["delete"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-created": { parameters: { @@ -492,8 +492,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -505,11 +505,11 @@ export interface webhooks { * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-dismissed": { parameters: { @@ -518,8 +518,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -531,11 +531,11 @@ export interface webhooks { * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-fixed": { parameters: { @@ -544,8 +544,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -557,11 +557,11 @@ export interface webhooks { * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reintroduced": { parameters: { @@ -570,8 +570,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -583,11 +583,11 @@ export interface webhooks { * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reopened": { parameters: { @@ -596,8 +596,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -609,11 +609,11 @@ export interface webhooks { * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-created": { parameters: { @@ -622,8 +622,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.7/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.7/rest/deploy-keys)" in the REST API documentation. * @@ -631,11 +631,11 @@ export interface webhooks { * @description A deploy key was created. */ post: operations["deploy-key/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-deleted": { parameters: { @@ -644,8 +644,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.7/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.7/rest/deploy-keys)" in the REST API documentation. * @@ -653,11 +653,11 @@ export interface webhooks { * @description A deploy key was deleted. */ post: operations["deploy-key/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-created": { parameters: { @@ -666,8 +666,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.7/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.7/rest/deployments/deployments)" in the REST API documentation. * @@ -677,11 +677,11 @@ export interface webhooks { * @description A deployment was created. */ post: operations["deployment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-approved": { parameters: { @@ -690,8 +690,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.7/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.7/rest/deployments/deployments)" in the REST API documentation. * @@ -701,11 +701,11 @@ export interface webhooks { * @description A deployment review was approved. */ post: operations["deployment-review/approved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-rejected": { parameters: { @@ -714,8 +714,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.7/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.7/rest/deployments/deployments)" in the REST API documentation. * @@ -725,11 +725,11 @@ export interface webhooks { * @description A deployment review was rejected. */ post: operations["deployment-review/rejected"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-requested": { parameters: { @@ -738,8 +738,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.7/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.7/rest/deployments/deployments)" in the REST API documentation. * @@ -749,11 +749,11 @@ export interface webhooks { * @description A deployment review was requested. */ post: operations["deployment-review/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-status-created": { parameters: { @@ -762,8 +762,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.7/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.7/rest/deployments/deployments)" in the REST API documentation. * @@ -773,11 +773,11 @@ export interface webhooks { * @description A new deployment status was created. */ post: operations["deployment-status/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-answered": { parameters: { @@ -786,8 +786,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * @@ -799,11 +799,11 @@ export interface webhooks { * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-category-changed": { parameters: { @@ -812,8 +812,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * @@ -825,11 +825,11 @@ export interface webhooks { * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-created": { parameters: { @@ -838,8 +838,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * @@ -851,11 +851,11 @@ export interface webhooks { * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-deleted": { parameters: { @@ -864,8 +864,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * @@ -877,11 +877,11 @@ export interface webhooks { * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-edited": { parameters: { @@ -890,8 +890,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * @@ -903,11 +903,11 @@ export interface webhooks { * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-created": { parameters: { @@ -916,8 +916,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * @@ -929,11 +929,11 @@ export interface webhooks { * @description A discussion was created. */ post: operations["discussion/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-deleted": { parameters: { @@ -942,8 +942,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * @@ -955,11 +955,11 @@ export interface webhooks { * @description A discussion was deleted. */ post: operations["discussion/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-edited": { parameters: { @@ -968,8 +968,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * @@ -981,11 +981,11 @@ export interface webhooks { * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-labeled": { parameters: { @@ -994,8 +994,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * @@ -1007,11 +1007,11 @@ export interface webhooks { * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-locked": { parameters: { @@ -1020,8 +1020,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * @@ -1033,11 +1033,11 @@ export interface webhooks { * @description A discussion was locked. */ post: operations["discussion/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-pinned": { parameters: { @@ -1046,8 +1046,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * @@ -1059,11 +1059,11 @@ export interface webhooks { * @description A discussion was pinned. */ post: operations["discussion/pinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-transferred": { parameters: { @@ -1072,8 +1072,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * @@ -1085,11 +1085,11 @@ export interface webhooks { * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unanswered": { parameters: { @@ -1098,8 +1098,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * @@ -1111,11 +1111,11 @@ export interface webhooks { * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlabeled": { parameters: { @@ -1124,8 +1124,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * @@ -1137,11 +1137,11 @@ export interface webhooks { * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlocked": { parameters: { @@ -1150,8 +1150,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * @@ -1163,11 +1163,11 @@ export interface webhooks { * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unpinned": { parameters: { @@ -1176,8 +1176,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.7/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#discussion). * @@ -1189,11 +1189,11 @@ export interface webhooks { * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "enterprise-anonymous-access-disabled": { parameters: { @@ -1202,18 +1202,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.7/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was disabled. */ post: operations["enterprise/anonymous-access-disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "enterprise-anonymous-access-enabled": { parameters: { @@ -1222,18 +1222,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.7/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was enabled. */ post: operations["enterprise/anonymous-access-enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; fork: { parameters: { @@ -1242,17 +1242,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.7/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.7/rest/repos/forks)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["fork"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "github-app-authorization-revoked": { parameters: { @@ -1261,8 +1261,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. * @@ -1272,11 +1272,11 @@ export interface webhooks { * @description Someone revoked their authorization of a GitHub App. */ post: operations["github-app-authorization/revoked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; gollum: { parameters: { @@ -1285,17 +1285,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.7/communities/documenting-your-project-with-wikis/about-wikis)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["gollum"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-created": { parameters: { @@ -1304,8 +1304,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1313,11 +1313,11 @@ export interface webhooks { * @description Someone installed a GitHub App on a user or organization account. */ post: operations["installation/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-deleted": { parameters: { @@ -1326,8 +1326,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1335,11 +1335,11 @@ export interface webhooks { * @description Someone uninstalled a GitHub App from their user or organization account. */ post: operations["installation/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-new-permissions-accepted": { parameters: { @@ -1348,8 +1348,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1357,11 +1357,11 @@ export interface webhooks { * @description Someone granted new permissions to a GitHub App. */ post: operations["installation/new-permissions-accepted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-added": { parameters: { @@ -1370,8 +1370,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1379,11 +1379,11 @@ export interface webhooks { * @description A GitHub App installation was granted access to one or more repositories. */ post: operations["installation-repositories/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-removed": { parameters: { @@ -1392,8 +1392,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1401,11 +1401,11 @@ export interface webhooks { * @description Access to one or more repositories was revoked for a GitHub App installation. */ post: operations["installation-repositories/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-suspend": { parameters: { @@ -1414,8 +1414,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1423,11 +1423,11 @@ export interface webhooks { * @description Someone blocked access by a GitHub App to their user or organization account. */ post: operations["installation/suspend"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-target-renamed": { parameters: { @@ -1436,18 +1436,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.7/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.7/rest/apps)" in the REST API documentation. * @description Somebody renamed the user or organization account that a GitHub App is installed on. */ post: operations["installation-target/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-unsuspend": { parameters: { @@ -1456,8 +1456,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1465,11 +1465,11 @@ export interface webhooks { * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. */ post: operations["installation/unsuspend"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-created": { parameters: { @@ -1478,8 +1478,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.7/rest/issues/comments)" in the REST API documentation. * @@ -1489,11 +1489,11 @@ export interface webhooks { * @description A comment on an issue or pull request was created. */ post: operations["issue-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-deleted": { parameters: { @@ -1502,8 +1502,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.7/rest/issues/comments)" in the REST API documentation. * @@ -1513,11 +1513,11 @@ export interface webhooks { * @description A comment on an issue or pull request was deleted. */ post: operations["issue-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-edited": { parameters: { @@ -1526,8 +1526,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.7/rest/issues/comments)" in the REST API documentation. * @@ -1537,11 +1537,11 @@ export interface webhooks { * @description A comment on an issue or pull request was edited. */ post: operations["issue-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-assigned": { parameters: { @@ -1550,8 +1550,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * @@ -1561,11 +1561,11 @@ export interface webhooks { * @description An issue was assigned to a user. */ post: operations["issues/assigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-closed": { parameters: { @@ -1574,8 +1574,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * @@ -1585,11 +1585,11 @@ export interface webhooks { * @description An issue was closed. */ post: operations["issues/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-deleted": { parameters: { @@ -1598,8 +1598,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * @@ -1609,11 +1609,11 @@ export interface webhooks { * @description An issue was deleted. */ post: operations["issues/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-demilestoned": { parameters: { @@ -1622,8 +1622,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * @@ -1633,11 +1633,11 @@ export interface webhooks { * @description An issue was removed from a milestone. */ post: operations["issues/demilestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-edited": { parameters: { @@ -1646,8 +1646,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * @@ -1657,11 +1657,11 @@ export interface webhooks { * @description The title or body on an issue was edited. */ post: operations["issues/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-labeled": { parameters: { @@ -1670,8 +1670,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * @@ -1681,11 +1681,11 @@ export interface webhooks { * @description A label was added to an issue. */ post: operations["issues/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-locked": { parameters: { @@ -1694,8 +1694,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * @@ -1705,11 +1705,11 @@ export interface webhooks { * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.7/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-milestoned": { parameters: { @@ -1718,8 +1718,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * @@ -1729,11 +1729,11 @@ export interface webhooks { * @description An issue was added to a milestone. */ post: operations["issues/milestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-opened": { parameters: { @@ -1742,8 +1742,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * @@ -1753,11 +1753,11 @@ export interface webhooks { * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. */ post: operations["issues/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-pinned": { parameters: { @@ -1766,8 +1766,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * @@ -1777,11 +1777,11 @@ export interface webhooks { * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/pinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-reopened": { parameters: { @@ -1790,8 +1790,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * @@ -1801,11 +1801,11 @@ export interface webhooks { * @description A closed issue was reopened. */ post: operations["issues/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-transferred": { parameters: { @@ -1814,8 +1814,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * @@ -1825,11 +1825,11 @@ export interface webhooks { * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." */ post: operations["issues/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unassigned": { parameters: { @@ -1838,8 +1838,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * @@ -1849,11 +1849,11 @@ export interface webhooks { * @description A user was unassigned from an issue. */ post: operations["issues/unassigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlabeled": { parameters: { @@ -1862,8 +1862,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * @@ -1873,11 +1873,11 @@ export interface webhooks { * @description A label was removed from an issue. */ post: operations["issues/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlocked": { parameters: { @@ -1886,8 +1886,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * @@ -1897,11 +1897,11 @@ export interface webhooks { * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.7/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unpinned": { parameters: { @@ -1910,8 +1910,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.7/rest/issues)" in the REST API documentation. * @@ -1921,11 +1921,11 @@ export interface webhooks { * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.7/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/unpinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-created": { parameters: { @@ -1934,8 +1934,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.7/rest/issues/labels)" in the REST API documentation. * @@ -1945,11 +1945,11 @@ export interface webhooks { * @description A label was created. */ post: operations["label/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-deleted": { parameters: { @@ -1958,8 +1958,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.7/rest/issues/labels)" in the REST API documentation. * @@ -1969,11 +1969,11 @@ export interface webhooks { * @description A label was deleted. */ post: operations["label/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-edited": { parameters: { @@ -1982,8 +1982,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.7/rest/issues/labels)" in the REST API documentation. * @@ -1993,11 +1993,11 @@ export interface webhooks { * @description A label's name, description, or color was changed. */ post: operations["label/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-added": { parameters: { @@ -2006,8 +2006,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.7/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.7/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2015,11 +2015,11 @@ export interface webhooks { * @description A GitHub user accepted an invitation to a repository. */ post: operations["member/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-edited": { parameters: { @@ -2028,8 +2028,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.7/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.7/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2037,11 +2037,11 @@ export interface webhooks { * @description Permissions were changed for a collaborator on a repository. */ post: operations["member/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-removed": { parameters: { @@ -2050,8 +2050,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.7/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.7/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2059,11 +2059,11 @@ export interface webhooks { * @description A collaborator was removed from a repository. */ post: operations["member/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-added": { parameters: { @@ -2072,8 +2072,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.7/rest/teams/members)" in the REST API documentation. * @@ -2081,11 +2081,11 @@ export interface webhooks { * @description An organization member was added to a team. */ post: operations["membership/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-removed": { parameters: { @@ -2094,8 +2094,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.7/rest/teams/members)" in the REST API documentation. * @@ -2103,11 +2103,11 @@ export interface webhooks { * @description An organization member was removed from a team. */ post: operations["membership/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "meta-deleted": { parameters: { @@ -2116,8 +2116,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a webhook itself. * @@ -2125,11 +2125,11 @@ export interface webhooks { * @description The webhook was deleted. */ post: operations["meta/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-closed": { parameters: { @@ -2138,8 +2138,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.7/rest/issues/milestones)" in the REST API documentation. * @@ -2149,11 +2149,11 @@ export interface webhooks { * @description A milestone was closed. */ post: operations["milestone/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-created": { parameters: { @@ -2162,8 +2162,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.7/rest/issues/milestones)" in the REST API documentation. * @@ -2173,11 +2173,11 @@ export interface webhooks { * @description A milestone was created. */ post: operations["milestone/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-deleted": { parameters: { @@ -2186,8 +2186,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.7/rest/issues/milestones)" in the REST API documentation. * @@ -2197,11 +2197,11 @@ export interface webhooks { * @description A milestone was deleted. */ post: operations["milestone/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-edited": { parameters: { @@ -2210,8 +2210,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.7/rest/issues/milestones)" in the REST API documentation. * @@ -2221,11 +2221,11 @@ export interface webhooks { * @description A milestone was edited. */ post: operations["milestone/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-opened": { parameters: { @@ -2234,8 +2234,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.7/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.7/rest/issues/milestones)" in the REST API documentation. * @@ -2245,11 +2245,11 @@ export interface webhooks { * @description A milestone was opened. */ post: operations["milestone/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-deleted": { parameters: { @@ -2258,8 +2258,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.7/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.7/rest/orgs)" in the REST API documentation. * @@ -2269,11 +2269,11 @@ export interface webhooks { * @description An organization was deleted. */ post: operations["organization/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-added": { parameters: { @@ -2282,8 +2282,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.7/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.7/rest/orgs)" in the REST API documentation. * @@ -2293,11 +2293,11 @@ export interface webhooks { * @description A member accepted an invitation to join an organization. */ post: operations["organization/member-added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-invited": { parameters: { @@ -2306,8 +2306,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.7/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.7/rest/orgs)" in the REST API documentation. * @@ -2317,11 +2317,11 @@ export interface webhooks { * @description A member was invited to join the organization. */ post: operations["organization/member-invited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-removed": { parameters: { @@ -2330,8 +2330,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.7/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.7/rest/orgs)" in the REST API documentation. * @@ -2341,11 +2341,11 @@ export interface webhooks { * @description A member was removed from the organization. */ post: operations["organization/member-removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-renamed": { parameters: { @@ -2354,8 +2354,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.7/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.7/rest/orgs)" in the REST API documentation. * @@ -2365,11 +2365,11 @@ export interface webhooks { * @description The name of an organization was changed. */ post: operations["organization/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-published": { parameters: { @@ -2378,8 +2378,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.7/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.7/rest/packages)" in the REST API documentation. * @@ -2387,11 +2387,11 @@ export interface webhooks { * @description A package was published to a registry. */ post: operations["package/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-updated": { parameters: { @@ -2400,8 +2400,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.7/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.7/rest/packages)" in the REST API documentation. * @@ -2409,11 +2409,11 @@ export interface webhooks { * @description A previously published package was updated. */ post: operations["package/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "page-build": { parameters: { @@ -2422,17 +2422,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.7/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.7/rest/pages)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. */ post: operations["page-build"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; ping: { parameters: { @@ -2441,15 +2441,15 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ post: operations["ping"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-converted": { parameters: { @@ -2458,8 +2458,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * @@ -2469,11 +2469,11 @@ export interface webhooks { * @description A note in a classic project was converted to an issue. */ post: operations["project-card/converted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-created": { parameters: { @@ -2482,8 +2482,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * @@ -2493,11 +2493,11 @@ export interface webhooks { * @description A card was added to a classic project. */ post: operations["project-card/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-deleted": { parameters: { @@ -2506,8 +2506,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * @@ -2517,11 +2517,11 @@ export interface webhooks { * @description A card on a classic project was deleted. */ post: operations["project-card/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-edited": { parameters: { @@ -2530,8 +2530,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * @@ -2541,11 +2541,11 @@ export interface webhooks { * @description A note on a classic project was edited. */ post: operations["project-card/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-moved": { parameters: { @@ -2554,8 +2554,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * @@ -2565,11 +2565,11 @@ export interface webhooks { * @description A card on a classic project was moved to another column or to another position in its column. */ post: operations["project-card/moved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-closed": { parameters: { @@ -2578,8 +2578,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * @@ -2589,11 +2589,11 @@ export interface webhooks { * @description A classic project was closed. */ post: operations["project/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-created": { parameters: { @@ -2602,8 +2602,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * @@ -2613,11 +2613,11 @@ export interface webhooks { * @description A column was added to a classic project. */ post: operations["project-column/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-deleted": { parameters: { @@ -2626,8 +2626,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * @@ -2637,11 +2637,11 @@ export interface webhooks { * @description A column was deleted from a classic project. */ post: operations["project-column/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-edited": { parameters: { @@ -2650,8 +2650,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * @@ -2661,11 +2661,11 @@ export interface webhooks { * @description The name of a column on a classic project was changed. */ post: operations["project-column/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-moved": { parameters: { @@ -2674,8 +2674,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * @@ -2685,11 +2685,11 @@ export interface webhooks { * @description A column was moved to a new position on a classic project. */ post: operations["project-column/moved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-created": { parameters: { @@ -2698,8 +2698,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * @@ -2709,11 +2709,11 @@ export interface webhooks { * @description A classic project was created. */ post: operations["project/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-deleted": { parameters: { @@ -2722,8 +2722,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * @@ -2733,11 +2733,11 @@ export interface webhooks { * @description A classic project was deleted. */ post: operations["project/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-edited": { parameters: { @@ -2746,8 +2746,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * @@ -2757,11 +2757,11 @@ export interface webhooks { * @description The name or description of a classic project was changed. */ post: operations["project/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-reopened": { parameters: { @@ -2770,8 +2770,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.7/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.7/rest/projects)" in the REST API documentation. * @@ -2781,11 +2781,11 @@ export interface webhooks { * @description A classic project was closed. */ post: operations["project/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-archived": { parameters: { @@ -2794,8 +2794,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). * @@ -2807,11 +2807,11 @@ export interface webhooks { * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/archived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-converted": { parameters: { @@ -2820,8 +2820,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). * @@ -2833,11 +2833,11 @@ export interface webhooks { * @description A draft issue in an organization project was converted to an issue. */ post: operations["projects-v2-item/converted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-created": { parameters: { @@ -2846,8 +2846,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). * @@ -2859,11 +2859,11 @@ export interface webhooks { * @description An item was added to a project in the organization. */ post: operations["projects-v2-item/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-deleted": { parameters: { @@ -2872,8 +2872,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). * @@ -2885,11 +2885,11 @@ export interface webhooks { * @description An item was deleted from a project in the organization. */ post: operations["projects-v2-item/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-edited": { parameters: { @@ -2898,8 +2898,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). * @@ -2911,11 +2911,11 @@ export interface webhooks { * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. */ post: operations["projects-v2-item/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-reordered": { parameters: { @@ -2924,8 +2924,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). * @@ -2937,11 +2937,11 @@ export interface webhooks { * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. */ post: operations["projects-v2-item/reordered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-restored": { parameters: { @@ -2950,8 +2950,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#projectv2item). * @@ -2963,11 +2963,11 @@ export interface webhooks { * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.7/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/restored"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; public: { parameters: { @@ -2976,17 +2976,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.7/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. */ post: operations["public"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-assigned": { parameters: { @@ -2995,8 +2995,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3006,11 +3006,11 @@ export interface webhooks { * @description A pull request was assigned to a user. */ post: operations["pull-request/assigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-disabled": { parameters: { @@ -3019,8 +3019,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3030,11 +3030,11 @@ export interface webhooks { * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-enabled": { parameters: { @@ -3043,8 +3043,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3054,11 +3054,11 @@ export interface webhooks { * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-closed": { parameters: { @@ -3067,8 +3067,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3078,11 +3078,11 @@ export interface webhooks { * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. */ post: operations["pull-request/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-converted-to-draft": { parameters: { @@ -3091,8 +3091,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3102,11 +3102,11 @@ export interface webhooks { * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/converted-to-draft"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-demilestoned": { parameters: { @@ -3115,8 +3115,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3126,11 +3126,11 @@ export interface webhooks { * @description A pull request was removed from a milestone. */ post: operations["pull-request/demilestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-edited": { parameters: { @@ -3139,8 +3139,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3150,11 +3150,11 @@ export interface webhooks { * @description The title or body of a pull request was edited. */ post: operations["pull-request/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-labeled": { parameters: { @@ -3163,8 +3163,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3174,11 +3174,11 @@ export interface webhooks { * @description A label was added to a pull request. */ post: operations["pull-request/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-locked": { parameters: { @@ -3187,8 +3187,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3198,11 +3198,11 @@ export interface webhooks { * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.7/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-milestoned": { parameters: { @@ -3211,8 +3211,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3222,11 +3222,11 @@ export interface webhooks { * @description A pull request was added to a milestone. */ post: operations["pull-request/milestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-opened": { parameters: { @@ -3235,8 +3235,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3246,11 +3246,11 @@ export interface webhooks { * @description A pull request was created */ post: operations["pull-request/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-ready-for-review": { parameters: { @@ -3259,8 +3259,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3270,11 +3270,11 @@ export interface webhooks { * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/ready-for-review"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-reopened": { parameters: { @@ -3283,8 +3283,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3294,11 +3294,11 @@ export interface webhooks { * @description A previously closed pull request was reopened. */ post: operations["pull-request/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-created": { parameters: { @@ -3307,8 +3307,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.7/rest/pulls/comments)" in the REST API documentation. * @@ -3318,11 +3318,11 @@ export interface webhooks { * @description A comment on a pull request diff was created. */ post: operations["pull-request-review-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-deleted": { parameters: { @@ -3331,8 +3331,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.7/rest/pulls/comments)" in the REST API documentation. * @@ -3342,11 +3342,11 @@ export interface webhooks { * @description A comment on a pull request diff was deleted. */ post: operations["pull-request-review-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-edited": { parameters: { @@ -3355,8 +3355,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.7/rest/pulls/comments)" in the REST API documentation. * @@ -3366,11 +3366,11 @@ export interface webhooks { * @description The content of a comment on a pull request diff was changed. */ post: operations["pull-request-review-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-dismissed": { parameters: { @@ -3379,8 +3379,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.7/rest/pulls/reviews)" in the REST API documentation. * @@ -3390,11 +3390,11 @@ export interface webhooks { * @description A review on a pull request was dismissed. */ post: operations["pull-request-review/dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-edited": { parameters: { @@ -3403,8 +3403,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.7/rest/pulls/reviews)" in the REST API documentation. * @@ -3414,11 +3414,11 @@ export interface webhooks { * @description The body comment on a pull request review was edited. */ post: operations["pull-request-review/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-request-removed": { parameters: { @@ -3427,8 +3427,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3438,11 +3438,11 @@ export interface webhooks { * @description A request for review by a person or team was removed from a pull request. */ post: operations["pull-request/review-request-removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-requested": { parameters: { @@ -3451,8 +3451,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3462,11 +3462,11 @@ export interface webhooks { * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." */ post: operations["pull-request/review-requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-submitted": { parameters: { @@ -3475,8 +3475,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.7/rest/pulls/reviews)" in the REST API documentation. * @@ -3486,11 +3486,11 @@ export interface webhooks { * @description A review on a pull request was submitted. */ post: operations["pull-request-review/submitted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-resolved": { parameters: { @@ -3499,8 +3499,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.7/rest/pulls/comments)" in the REST API documentation. * @@ -3510,11 +3510,11 @@ export interface webhooks { * @description A comment thread on a pull request was marked as resolved. */ post: operations["pull-request-review-thread/resolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-unresolved": { parameters: { @@ -3523,8 +3523,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.7/rest/pulls/comments)" in the REST API documentation. * @@ -3534,11 +3534,11 @@ export interface webhooks { * @description A previously resolved comment thread on a pull request was marked as unresolved. */ post: operations["pull-request-review-thread/unresolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-synchronize": { parameters: { @@ -3547,8 +3547,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3558,11 +3558,11 @@ export interface webhooks { * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. */ post: operations["pull-request/synchronize"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unassigned": { parameters: { @@ -3571,8 +3571,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3582,11 +3582,11 @@ export interface webhooks { * @description A user was unassigned from a pull request. */ post: operations["pull-request/unassigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlabeled": { parameters: { @@ -3595,8 +3595,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3606,11 +3606,11 @@ export interface webhooks { * @description A label was removed from a pull request. */ post: operations["pull-request/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlocked": { parameters: { @@ -3619,8 +3619,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)" in the REST API documentation. * @@ -3630,11 +3630,11 @@ export interface webhooks { * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.7/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; push: { parameters: { @@ -3643,8 +3643,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch * and tag deletions, use the [`delete`](#delete) webhook event. @@ -3653,11 +3653,11 @@ export interface webhooks { * * **Note**: An event will not be created when more than three tags are pushed at once. */ post: operations["push"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-published": { parameters: { @@ -3666,8 +3666,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.7/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.7/rest/packages)" in the REST API documentation. * @@ -3677,11 +3677,11 @@ export interface webhooks { * @description A package was published to a registry. */ post: operations["registry-package/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-updated": { parameters: { @@ -3690,8 +3690,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.7/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.7/rest/packages)" in the REST API documentation. * @@ -3701,11 +3701,11 @@ export interface webhooks { * @description A package that was previously published to a registry was updated. */ post: operations["registry-package/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-created": { parameters: { @@ -3714,8 +3714,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. * @@ -3723,11 +3723,11 @@ export interface webhooks { * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. */ post: operations["release/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-deleted": { parameters: { @@ -3736,8 +3736,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. * @@ -3745,11 +3745,11 @@ export interface webhooks { * @description A release, pre-release, or draft release was deleted. */ post: operations["release/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-edited": { parameters: { @@ -3758,8 +3758,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. * @@ -3767,11 +3767,11 @@ export interface webhooks { * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." */ post: operations["release/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-prereleased": { parameters: { @@ -3780,8 +3780,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. * @@ -3789,11 +3789,11 @@ export interface webhooks { * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. */ post: operations["release/prereleased"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-published": { parameters: { @@ -3802,8 +3802,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. * @@ -3811,11 +3811,11 @@ export interface webhooks { * @description A release, pre-release, or draft of a release was published. */ post: operations["release/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-released": { parameters: { @@ -3824,8 +3824,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. * @@ -3833,11 +3833,11 @@ export interface webhooks { * @description A release was published, or a pre-release was changed to a release. */ post: operations["release/released"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-unpublished": { parameters: { @@ -3846,8 +3846,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.7/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.7/rest/releases)" in the REST API documentation. * @@ -3855,11 +3855,11 @@ export interface webhooks { * @description A release or pre-release was unpublished. */ post: operations["release/unpublished"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-anonymous-access-disabled": { parameters: { @@ -3868,8 +3868,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * @@ -3877,11 +3877,11 @@ export interface webhooks { * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-anonymous-access-enabled": { parameters: { @@ -3890,8 +3890,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * @@ -3899,11 +3899,11 @@ export interface webhooks { * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-archived": { parameters: { @@ -3912,8 +3912,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * @@ -3921,11 +3921,11 @@ export interface webhooks { * @description A repository was archived. */ post: operations["repository/archived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-created": { parameters: { @@ -3934,8 +3934,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * @@ -3943,11 +3943,11 @@ export interface webhooks { * @description A repository was created. */ post: operations["repository/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-deleted": { parameters: { @@ -3956,8 +3956,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * @@ -3965,11 +3965,11 @@ export interface webhooks { * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. */ post: operations["repository/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-dispatch-sample.collected": { parameters: { @@ -3978,8 +3978,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.7/rest/repos/repos#create-a-repository-dispatch-event). * @@ -3987,11 +3987,11 @@ export interface webhooks { * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. */ post: operations["repository-dispatch/sample.collected"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-edited": { parameters: { @@ -4000,8 +4000,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * @@ -4009,11 +4009,11 @@ export interface webhooks { * @description The topics, default branch, description, or homepage of a repository was changed. */ post: operations["repository/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-privatized": { parameters: { @@ -4022,8 +4022,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * @@ -4031,11 +4031,11 @@ export interface webhooks { * @description The visibility of a repository was changed to `private`. */ post: operations["repository/privatized"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-publicized": { parameters: { @@ -4044,8 +4044,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * @@ -4053,11 +4053,11 @@ export interface webhooks { * @description The visibility of a repository was changed to `public`. */ post: operations["repository/publicized"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-renamed": { parameters: { @@ -4066,8 +4066,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * @@ -4075,11 +4075,11 @@ export interface webhooks { * @description The name of a repository was changed. */ post: operations["repository/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-transferred": { parameters: { @@ -4088,8 +4088,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * @@ -4097,11 +4097,11 @@ export interface webhooks { * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. */ post: operations["repository/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-unarchived": { parameters: { @@ -4110,8 +4110,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.7/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.7/rest/repos)" in the REST API documentation. * @@ -4119,11 +4119,11 @@ export interface webhooks { * @description A previously archived repository was unarchived. */ post: operations["repository/unarchived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-create": { parameters: { @@ -4132,8 +4132,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4141,11 +4141,11 @@ export interface webhooks { * @description A repository vulnerability alert was created. */ post: operations["repository-vulnerability-alert/create"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-dismiss": { parameters: { @@ -4154,8 +4154,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4163,11 +4163,11 @@ export interface webhooks { * @description A repository vulnerability alert was dismissed. */ post: operations["repository-vulnerability-alert/dismiss"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-reopen": { parameters: { @@ -4176,8 +4176,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4185,11 +4185,11 @@ export interface webhooks { * @description A previously dismissed or resolved repository vulnerability alert was reopened. */ post: operations["repository-vulnerability-alert/reopen"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-resolve": { parameters: { @@ -4198,8 +4198,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4207,11 +4207,11 @@ export interface webhooks { * @description A repository vulnerability alert was marked as resolved. */ post: operations["repository-vulnerability-alert/resolve"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-created": { parameters: { @@ -4220,8 +4220,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.7/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.7/rest/secret-scanning)" in the REST API documentation. * @@ -4231,11 +4231,11 @@ export interface webhooks { * @description A secret scanning alert was created. */ post: operations["secret-scanning-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-location-created": { parameters: { @@ -4244,8 +4244,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. * @@ -4257,11 +4257,11 @@ export interface webhooks { * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. */ post: operations["secret-scanning-alert-location/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-reopened": { parameters: { @@ -4270,8 +4270,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.7/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.7/rest/secret-scanning)" in the REST API documentation. * @@ -4281,11 +4281,11 @@ export interface webhooks { * @description A previously closed secret scanning alert was reopened. */ post: operations["secret-scanning-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-resolved": { parameters: { @@ -4294,8 +4294,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.7/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.7/rest/secret-scanning)" in the REST API documentation. * @@ -4305,11 +4305,11 @@ export interface webhooks { * @description A secret scanning alert was closed. */ post: operations["secret-scanning-alert/resolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-revoked": { parameters: { @@ -4318,8 +4318,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.7/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.7/rest/secret-scanning)" in the REST API documentation. * @@ -4329,11 +4329,11 @@ export interface webhooks { * @description A secret scanning alert was marked as revoked. */ post: operations["secret-scanning-alert/revoked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-published": { parameters: { @@ -4342,8 +4342,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.7/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#securityadvisory). * @@ -4351,11 +4351,11 @@ export interface webhooks { * @description A security advisory was published to the GitHub community. */ post: operations["security-advisory/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-updated": { parameters: { @@ -4364,8 +4364,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.7/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#securityadvisory). * @@ -4373,11 +4373,11 @@ export interface webhooks { * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. */ post: operations["security-advisory/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-withdrawn": { parameters: { @@ -4386,8 +4386,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.7/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#securityadvisory). * @@ -4395,11 +4395,11 @@ export interface webhooks { * @description A previously published security advisory was withdrawn. */ post: operations["security-advisory/withdrawn"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-and-analysis": { parameters: { @@ -4408,17 +4408,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.7/code-security/getting-started/github-security-features)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. */ post: operations["security-and-analysis"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-cancelled": { parameters: { @@ -4427,8 +4427,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). * @@ -4438,11 +4438,11 @@ export interface webhooks { * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/cancelled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-created": { parameters: { @@ -4451,8 +4451,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). * @@ -4460,11 +4460,11 @@ export interface webhooks { * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. */ post: operations["sponsorship/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-edited": { parameters: { @@ -4473,8 +4473,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). * @@ -4482,11 +4482,11 @@ export interface webhooks { * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. */ post: operations["sponsorship/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-cancellation": { parameters: { @@ -4495,8 +4495,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). * @@ -4506,11 +4506,11 @@ export interface webhooks { * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/pending-cancellation"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-tier-change": { parameters: { @@ -4519,8 +4519,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). * @@ -4528,11 +4528,11 @@ export interface webhooks { * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. */ post: operations["sponsorship/pending-tier-change"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-tier-changed": { parameters: { @@ -4541,8 +4541,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.7/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#sponsorship). * @@ -4550,11 +4550,11 @@ export interface webhooks { * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. */ post: operations["sponsorship/tier-changed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-created": { parameters: { @@ -4563,8 +4563,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.7/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.7/rest/activity/starring)" in the REST API documentation. * @@ -4572,11 +4572,11 @@ export interface webhooks { * @description Someone starred a repository. */ post: operations["star/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-deleted": { parameters: { @@ -4585,8 +4585,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.7/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.7/rest/activity/starring)" in the REST API documentation. * @@ -4594,11 +4594,11 @@ export interface webhooks { * @description Someone unstarred the repository. */ post: operations["star/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; status: { parameters: { @@ -4607,17 +4607,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.7/rest/commits/statuses)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. */ post: operations["status"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-add": { parameters: { @@ -4626,8 +4626,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a team is added to a repository. * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.7/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." * @@ -4635,11 +4635,11 @@ export interface webhooks { * * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. */ post: operations["team-add"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-added-to-repository": { parameters: { @@ -4648,8 +4648,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." @@ -4658,11 +4658,11 @@ export interface webhooks { * @description A team was granted access to a repository. */ post: operations["team/added-to-repository"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-created": { parameters: { @@ -4671,8 +4671,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." @@ -4681,11 +4681,11 @@ export interface webhooks { * @description A team was created. */ post: operations["team/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-deleted": { parameters: { @@ -4694,8 +4694,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." @@ -4704,11 +4704,11 @@ export interface webhooks { * @description A team was deleted. */ post: operations["team/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-edited": { parameters: { @@ -4717,8 +4717,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." @@ -4727,11 +4727,11 @@ export interface webhooks { * @description The name, description, or visibility of a team was changed. */ post: operations["team/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-removed-from-repository": { parameters: { @@ -4740,8 +4740,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.7/organizations/organizing-members-into-teams/about-teams)." @@ -4750,11 +4750,11 @@ export interface webhooks { * @description A team's access to a repository was removed. */ post: operations["team/removed-from-repository"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "user-created": { parameters: { @@ -4763,18 +4763,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was added to the enterprise. */ post: operations["user/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "user-deleted": { parameters: { @@ -4783,18 +4783,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was removed from the enterprise. */ post: operations["user/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "watch-started": { parameters: { @@ -4803,8 +4803,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-server@3.7/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-server@3.7/rest/activity/watching)" in the REST API documentation. * @@ -4812,11 +4812,11 @@ export interface webhooks { * @description Someone started watching the repository. */ post: operations["watch/started"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-dispatch": { parameters: { @@ -4825,19 +4825,19 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.7/actions/managing-workflow-runs/manually-running-a-workflow)." * * For activity relating to workflow runs, use the `workflow_run` event. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["workflow-dispatch"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-completed": { parameters: { @@ -4846,8 +4846,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.7/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -4857,11 +4857,11 @@ export interface webhooks { * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. */ post: operations["workflow-job/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-in-progress": { parameters: { @@ -4870,8 +4870,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.7/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -4881,11 +4881,11 @@ export interface webhooks { * @description A job in a workflow run started processing on a runner. */ post: operations["workflow-job/in-progress"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-queued": { parameters: { @@ -4894,8 +4894,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.7/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -4905,11 +4905,11 @@ export interface webhooks { * @description A job in a workflow run was created. */ post: operations["workflow-job/queued"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-completed": { parameters: { @@ -4918,8 +4918,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.7/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-runs)" in the REST API documentation. * @@ -4929,11 +4929,11 @@ export interface webhooks { * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. */ post: operations["workflow-run/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-in-progress": { parameters: { @@ -4942,8 +4942,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.7/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-runs)" in the REST API documentation. * @@ -4953,11 +4953,11 @@ export interface webhooks { * @description A workflow run started processing on a runner. */ post: operations["workflow-run/in-progress"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-requested": { parameters: { @@ -4966,8 +4966,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.7/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.7/rest/actions/workflow-runs)" in the REST API documentation. * @@ -4977,11 +4977,11 @@ export interface webhooks { * @description A workflow run was triggered. */ post: operations["workflow-run/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; } export interface components { @@ -5861,7 +5861,7 @@ export interface components { metadata?: string; contents?: string; deployments?: string; - [key: string]: string; + [key: string]: string | undefined; }; /** @description The list of events for the GitHub app */ events: string[]; @@ -26284,11 +26284,11 @@ export interface components { }; platform?: string; metadata?: { - [key: string]: string; + [key: string]: string | undefined; }; repo?: string; dependencies?: { - [key: string]: string; + [key: string]: string | undefined; }[]; commit_oid?: string; }; diff --git a/packages/openapi-webhooks-types-ghes-3.8/types.d.ts b/packages/openapi-webhooks-types-ghes-3.8/types.d.ts index 2025a38..6105ebf 100644 --- a/packages/openapi-webhooks-types-ghes-3.8/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.8/types.d.ts @@ -12,8 +12,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.8/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.8/rest/branches/branch-protection)" in the REST API documentation. * @@ -21,11 +21,11 @@ export interface webhooks { * @description A branch protection rule was created. */ post: operations["branch-protection-rule/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-deleted": { parameters: { @@ -34,8 +34,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.8/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.8/rest/branches/branch-protection)" in the REST API documentation. * @@ -43,11 +43,11 @@ export interface webhooks { * @description A branch protection rule was deleted. */ post: operations["branch-protection-rule/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-edited": { parameters: { @@ -56,8 +56,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.8/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.8/rest/branches/branch-protection)" in the REST API documentation. * @@ -65,11 +65,11 @@ export interface webhooks { * @description A branch protection rule was edited. */ post: operations["branch-protection-rule/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "cache-sync": { parameters: { @@ -78,15 +78,15 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](https://docs.github.com/enterprise-server@3.8/admin/enterprise-management/caching-repositories/about-repository-caching)." */ post: operations["cache-sync"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-completed": { parameters: { @@ -95,8 +95,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.8/rest/checks/runs)" in the REST API documentation. * @@ -110,11 +110,11 @@ export interface webhooks { * @description A check run was completed, and a conclusion is available. */ post: operations["check-run/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-created": { parameters: { @@ -123,8 +123,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.8/rest/checks/runs)" in the REST API documentation. * @@ -138,11 +138,11 @@ export interface webhooks { * @description A new check run was created. */ post: operations["check-run/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-requested-action": { parameters: { @@ -151,8 +151,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.8/rest/checks/runs)" in the REST API documentation. * @@ -166,11 +166,11 @@ export interface webhooks { * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.8/developers/apps/guides/creating-ci-tests-with-the-checks-api)." */ post: operations["check-run/requested-action"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-rerequested": { parameters: { @@ -179,8 +179,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.8/rest/checks/runs)" in the REST API documentation. * @@ -194,11 +194,11 @@ export interface webhooks { * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. */ post: operations["check-run/rerequested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-completed": { parameters: { @@ -207,8 +207,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.8/rest/checks/suites)" in the REST API documentation. * @@ -222,11 +222,11 @@ export interface webhooks { * @description All check runs in a check suite have completed, and a conclusion is available. */ post: operations["check-suite/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-requested": { parameters: { @@ -235,8 +235,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.8/rest/checks/suites)" in the REST API documentation. * @@ -250,11 +250,11 @@ export interface webhooks { * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.8/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-server@3.8/rest/checks/runs#create-a-check-run)" in the REST API documentation. */ post: operations["check-suite/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-rerequested": { parameters: { @@ -263,8 +263,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.8/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.8/rest/checks/suites)" in the REST API documentation. * @@ -278,11 +278,11 @@ export interface webhooks { * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.8/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-server@3.8/rest/checks/suites#create-a-check-suite)" in the REST API documentation. */ post: operations["check-suite/rerequested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-appeared-in-branch": { parameters: { @@ -291,8 +291,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. * @@ -300,11 +300,11 @@ export interface webhooks { * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. */ post: operations["code-scanning-alert/appeared-in-branch"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-closed-by-user": { parameters: { @@ -313,8 +313,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. * @@ -322,11 +322,11 @@ export interface webhooks { * @description Someone closed a code scanning alert. */ post: operations["code-scanning-alert/closed-by-user"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-created": { parameters: { @@ -335,8 +335,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. * @@ -344,11 +344,11 @@ export interface webhooks { * @description A code scanning alert was created in a repository. */ post: operations["code-scanning-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-fixed": { parameters: { @@ -357,8 +357,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. * @@ -366,11 +366,11 @@ export interface webhooks { * @description A code scanning alert was fixed in a branch by a commit. */ post: operations["code-scanning-alert/fixed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened": { parameters: { @@ -379,8 +379,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. * @@ -388,11 +388,11 @@ export interface webhooks { * @description A previously fixed code scanning alert reappeared in a branch. */ post: operations["code-scanning-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened-by-user": { parameters: { @@ -401,8 +401,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.8/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.8/rest/code-scanning)" in the REST API documentation. * @@ -410,11 +410,11 @@ export interface webhooks { * @description Someone reopened a code scanning alert. */ post: operations["code-scanning-alert/reopened-by-user"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "commit-comment-created": { parameters: { @@ -423,8 +423,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-server@3.8/rest/commits/comments)" in the REST API documentation. * @@ -434,11 +434,11 @@ export interface webhooks { * @description Someone commented on a commit. */ post: operations["commit-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; create: { parameters: { @@ -447,8 +447,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git branch or tag is created. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. @@ -457,11 +457,11 @@ export interface webhooks { * - This event will not occur when more than three tags are created at once. * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. */ post: operations["create"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; delete: { parameters: { @@ -470,8 +470,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including * branch and tag deletions, use the [`push`](#push) webhook event. * @@ -479,11 +479,11 @@ export interface webhooks { * * **Note**: This event will not occur when more than three tags are deleted at once. */ post: operations["delete"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-created": { parameters: { @@ -492,8 +492,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -505,11 +505,11 @@ export interface webhooks { * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-dismissed": { parameters: { @@ -518,8 +518,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -531,11 +531,11 @@ export interface webhooks { * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-fixed": { parameters: { @@ -544,8 +544,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -557,11 +557,11 @@ export interface webhooks { * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reintroduced": { parameters: { @@ -570,8 +570,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -583,11 +583,11 @@ export interface webhooks { * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reopened": { parameters: { @@ -596,8 +596,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -609,11 +609,11 @@ export interface webhooks { * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-created": { parameters: { @@ -622,8 +622,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.8/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.8/rest/deploy-keys)" in the REST API documentation. * @@ -631,11 +631,11 @@ export interface webhooks { * @description A deploy key was created. */ post: operations["deploy-key/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-deleted": { parameters: { @@ -644,8 +644,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.8/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.8/rest/deploy-keys)" in the REST API documentation. * @@ -653,11 +653,11 @@ export interface webhooks { * @description A deploy key was deleted. */ post: operations["deploy-key/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-created": { parameters: { @@ -666,8 +666,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.8/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.8/rest/deployments/deployments)" in the REST API documentation. * @@ -677,11 +677,11 @@ export interface webhooks { * @description A deployment was created. */ post: operations["deployment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-approved": { parameters: { @@ -690,8 +690,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.8/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.8/rest/deployments/deployments)" in the REST API documentation. * @@ -701,11 +701,11 @@ export interface webhooks { * @description A deployment review was approved. */ post: operations["deployment-review/approved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-rejected": { parameters: { @@ -714,8 +714,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.8/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.8/rest/deployments/deployments)" in the REST API documentation. * @@ -725,11 +725,11 @@ export interface webhooks { * @description A deployment review was rejected. */ post: operations["deployment-review/rejected"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-requested": { parameters: { @@ -738,8 +738,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.8/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.8/rest/deployments/deployments)" in the REST API documentation. * @@ -749,11 +749,11 @@ export interface webhooks { * @description A deployment review was requested. */ post: operations["deployment-review/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-status-created": { parameters: { @@ -762,8 +762,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.8/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.8/rest/deployments/deployments)" in the REST API documentation. * @@ -773,11 +773,11 @@ export interface webhooks { * @description A new deployment status was created. */ post: operations["deployment-status/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-answered": { parameters: { @@ -786,8 +786,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * @@ -799,11 +799,11 @@ export interface webhooks { * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-category-changed": { parameters: { @@ -812,8 +812,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * @@ -825,11 +825,11 @@ export interface webhooks { * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-created": { parameters: { @@ -838,8 +838,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * @@ -851,11 +851,11 @@ export interface webhooks { * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-deleted": { parameters: { @@ -864,8 +864,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * @@ -877,11 +877,11 @@ export interface webhooks { * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-edited": { parameters: { @@ -890,8 +890,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * @@ -903,11 +903,11 @@ export interface webhooks { * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-created": { parameters: { @@ -916,8 +916,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * @@ -929,11 +929,11 @@ export interface webhooks { * @description A discussion was created. */ post: operations["discussion/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-deleted": { parameters: { @@ -942,8 +942,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * @@ -955,11 +955,11 @@ export interface webhooks { * @description A discussion was deleted. */ post: operations["discussion/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-edited": { parameters: { @@ -968,8 +968,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * @@ -981,11 +981,11 @@ export interface webhooks { * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-labeled": { parameters: { @@ -994,8 +994,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * @@ -1007,11 +1007,11 @@ export interface webhooks { * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-locked": { parameters: { @@ -1020,8 +1020,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * @@ -1033,11 +1033,11 @@ export interface webhooks { * @description A discussion was locked. */ post: operations["discussion/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-pinned": { parameters: { @@ -1046,8 +1046,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * @@ -1059,11 +1059,11 @@ export interface webhooks { * @description A discussion was pinned. */ post: operations["discussion/pinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-transferred": { parameters: { @@ -1072,8 +1072,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * @@ -1085,11 +1085,11 @@ export interface webhooks { * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unanswered": { parameters: { @@ -1098,8 +1098,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * @@ -1111,11 +1111,11 @@ export interface webhooks { * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlabeled": { parameters: { @@ -1124,8 +1124,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * @@ -1137,11 +1137,11 @@ export interface webhooks { * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlocked": { parameters: { @@ -1150,8 +1150,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * @@ -1163,11 +1163,11 @@ export interface webhooks { * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unpinned": { parameters: { @@ -1176,8 +1176,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.8/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#discussion). * @@ -1189,11 +1189,11 @@ export interface webhooks { * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "enterprise-anonymous-access-disabled": { parameters: { @@ -1202,18 +1202,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.8/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was disabled. */ post: operations["enterprise/anonymous-access-disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "enterprise-anonymous-access-enabled": { parameters: { @@ -1222,18 +1222,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.8/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was enabled. */ post: operations["enterprise/anonymous-access-enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; fork: { parameters: { @@ -1242,17 +1242,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.8/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.8/rest/repos/forks)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["fork"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "github-app-authorization-revoked": { parameters: { @@ -1261,8 +1261,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. * @@ -1272,11 +1272,11 @@ export interface webhooks { * @description Someone revoked their authorization of a GitHub App. */ post: operations["github-app-authorization/revoked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; gollum: { parameters: { @@ -1285,17 +1285,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.8/communities/documenting-your-project-with-wikis/about-wikis)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["gollum"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-created": { parameters: { @@ -1304,8 +1304,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1313,11 +1313,11 @@ export interface webhooks { * @description Someone installed a GitHub App on a user or organization account. */ post: operations["installation/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-deleted": { parameters: { @@ -1326,8 +1326,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1335,11 +1335,11 @@ export interface webhooks { * @description Someone uninstalled a GitHub App from their user or organization account. */ post: operations["installation/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-new-permissions-accepted": { parameters: { @@ -1348,8 +1348,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1357,11 +1357,11 @@ export interface webhooks { * @description Someone granted new permissions to a GitHub App. */ post: operations["installation/new-permissions-accepted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-added": { parameters: { @@ -1370,8 +1370,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1379,11 +1379,11 @@ export interface webhooks { * @description A GitHub App installation was granted access to one or more repositories. */ post: operations["installation-repositories/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-removed": { parameters: { @@ -1392,8 +1392,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1401,11 +1401,11 @@ export interface webhooks { * @description Access to one or more repositories was revoked for a GitHub App installation. */ post: operations["installation-repositories/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-suspend": { parameters: { @@ -1414,8 +1414,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1423,11 +1423,11 @@ export interface webhooks { * @description Someone blocked access by a GitHub App to their user or organization account. */ post: operations["installation/suspend"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-target-renamed": { parameters: { @@ -1436,18 +1436,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.8/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.8/rest/apps)" in the REST API documentation. * @description Somebody renamed the user or organization account that a GitHub App is installed on. */ post: operations["installation-target/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-unsuspend": { parameters: { @@ -1456,8 +1456,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1465,11 +1465,11 @@ export interface webhooks { * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. */ post: operations["installation/unsuspend"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-created": { parameters: { @@ -1478,8 +1478,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.8/rest/issues/comments)" in the REST API documentation. * @@ -1489,11 +1489,11 @@ export interface webhooks { * @description A comment on an issue or pull request was created. */ post: operations["issue-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-deleted": { parameters: { @@ -1502,8 +1502,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.8/rest/issues/comments)" in the REST API documentation. * @@ -1513,11 +1513,11 @@ export interface webhooks { * @description A comment on an issue or pull request was deleted. */ post: operations["issue-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-edited": { parameters: { @@ -1526,8 +1526,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.8/rest/issues/comments)" in the REST API documentation. * @@ -1537,11 +1537,11 @@ export interface webhooks { * @description A comment on an issue or pull request was edited. */ post: operations["issue-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-assigned": { parameters: { @@ -1550,8 +1550,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * @@ -1561,11 +1561,11 @@ export interface webhooks { * @description An issue was assigned to a user. */ post: operations["issues/assigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-closed": { parameters: { @@ -1574,8 +1574,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * @@ -1585,11 +1585,11 @@ export interface webhooks { * @description An issue was closed. */ post: operations["issues/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-deleted": { parameters: { @@ -1598,8 +1598,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * @@ -1609,11 +1609,11 @@ export interface webhooks { * @description An issue was deleted. */ post: operations["issues/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-demilestoned": { parameters: { @@ -1622,8 +1622,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * @@ -1633,11 +1633,11 @@ export interface webhooks { * @description An issue was removed from a milestone. */ post: operations["issues/demilestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-edited": { parameters: { @@ -1646,8 +1646,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * @@ -1657,11 +1657,11 @@ export interface webhooks { * @description The title or body on an issue was edited. */ post: operations["issues/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-labeled": { parameters: { @@ -1670,8 +1670,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * @@ -1681,11 +1681,11 @@ export interface webhooks { * @description A label was added to an issue. */ post: operations["issues/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-locked": { parameters: { @@ -1694,8 +1694,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * @@ -1705,11 +1705,11 @@ export interface webhooks { * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.8/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-milestoned": { parameters: { @@ -1718,8 +1718,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * @@ -1729,11 +1729,11 @@ export interface webhooks { * @description An issue was added to a milestone. */ post: operations["issues/milestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-opened": { parameters: { @@ -1742,8 +1742,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * @@ -1753,11 +1753,11 @@ export interface webhooks { * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. */ post: operations["issues/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-pinned": { parameters: { @@ -1766,8 +1766,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * @@ -1777,11 +1777,11 @@ export interface webhooks { * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/pinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-reopened": { parameters: { @@ -1790,8 +1790,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * @@ -1801,11 +1801,11 @@ export interface webhooks { * @description A closed issue was reopened. */ post: operations["issues/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-transferred": { parameters: { @@ -1814,8 +1814,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * @@ -1825,11 +1825,11 @@ export interface webhooks { * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." */ post: operations["issues/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unassigned": { parameters: { @@ -1838,8 +1838,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * @@ -1849,11 +1849,11 @@ export interface webhooks { * @description A user was unassigned from an issue. */ post: operations["issues/unassigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlabeled": { parameters: { @@ -1862,8 +1862,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * @@ -1873,11 +1873,11 @@ export interface webhooks { * @description A label was removed from an issue. */ post: operations["issues/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlocked": { parameters: { @@ -1886,8 +1886,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * @@ -1897,11 +1897,11 @@ export interface webhooks { * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.8/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unpinned": { parameters: { @@ -1910,8 +1910,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.8/rest/issues)" in the REST API documentation. * @@ -1921,11 +1921,11 @@ export interface webhooks { * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.8/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/unpinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-created": { parameters: { @@ -1934,8 +1934,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.8/rest/issues/labels)" in the REST API documentation. * @@ -1945,11 +1945,11 @@ export interface webhooks { * @description A label was created. */ post: operations["label/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-deleted": { parameters: { @@ -1958,8 +1958,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.8/rest/issues/labels)" in the REST API documentation. * @@ -1969,11 +1969,11 @@ export interface webhooks { * @description A label was deleted. */ post: operations["label/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-edited": { parameters: { @@ -1982,8 +1982,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.8/rest/issues/labels)" in the REST API documentation. * @@ -1993,11 +1993,11 @@ export interface webhooks { * @description A label's name, description, or color was changed. */ post: operations["label/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-added": { parameters: { @@ -2006,8 +2006,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.8/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.8/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2015,11 +2015,11 @@ export interface webhooks { * @description A GitHub user accepted an invitation to a repository. */ post: operations["member/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-edited": { parameters: { @@ -2028,8 +2028,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.8/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.8/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2037,11 +2037,11 @@ export interface webhooks { * @description Permissions were changed for a collaborator on a repository. */ post: operations["member/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-removed": { parameters: { @@ -2050,8 +2050,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.8/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.8/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2059,11 +2059,11 @@ export interface webhooks { * @description A collaborator was removed from a repository. */ post: operations["member/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-added": { parameters: { @@ -2072,8 +2072,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.8/rest/teams/members)" in the REST API documentation. * @@ -2081,11 +2081,11 @@ export interface webhooks { * @description An organization member was added to a team. */ post: operations["membership/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-removed": { parameters: { @@ -2094,8 +2094,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.8/rest/teams/members)" in the REST API documentation. * @@ -2103,11 +2103,11 @@ export interface webhooks { * @description An organization member was removed from a team. */ post: operations["membership/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "meta-deleted": { parameters: { @@ -2116,8 +2116,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a webhook itself. * @@ -2125,11 +2125,11 @@ export interface webhooks { * @description The webhook was deleted. */ post: operations["meta/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-closed": { parameters: { @@ -2138,8 +2138,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.8/rest/issues/milestones)" in the REST API documentation. * @@ -2149,11 +2149,11 @@ export interface webhooks { * @description A milestone was closed. */ post: operations["milestone/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-created": { parameters: { @@ -2162,8 +2162,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.8/rest/issues/milestones)" in the REST API documentation. * @@ -2173,11 +2173,11 @@ export interface webhooks { * @description A milestone was created. */ post: operations["milestone/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-deleted": { parameters: { @@ -2186,8 +2186,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.8/rest/issues/milestones)" in the REST API documentation. * @@ -2197,11 +2197,11 @@ export interface webhooks { * @description A milestone was deleted. */ post: operations["milestone/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-edited": { parameters: { @@ -2210,8 +2210,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.8/rest/issues/milestones)" in the REST API documentation. * @@ -2221,11 +2221,11 @@ export interface webhooks { * @description A milestone was edited. */ post: operations["milestone/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-opened": { parameters: { @@ -2234,8 +2234,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.8/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.8/rest/issues/milestones)" in the REST API documentation. * @@ -2245,11 +2245,11 @@ export interface webhooks { * @description A milestone was opened. */ post: operations["milestone/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-deleted": { parameters: { @@ -2258,8 +2258,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.8/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.8/rest/orgs)" in the REST API documentation. * @@ -2269,11 +2269,11 @@ export interface webhooks { * @description An organization was deleted. */ post: operations["organization/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-added": { parameters: { @@ -2282,8 +2282,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.8/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.8/rest/orgs)" in the REST API documentation. * @@ -2293,11 +2293,11 @@ export interface webhooks { * @description A member accepted an invitation to join an organization. */ post: operations["organization/member-added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-invited": { parameters: { @@ -2306,8 +2306,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.8/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.8/rest/orgs)" in the REST API documentation. * @@ -2317,11 +2317,11 @@ export interface webhooks { * @description A member was invited to join the organization. */ post: operations["organization/member-invited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-removed": { parameters: { @@ -2330,8 +2330,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.8/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.8/rest/orgs)" in the REST API documentation. * @@ -2341,11 +2341,11 @@ export interface webhooks { * @description A member was removed from the organization. */ post: operations["organization/member-removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-renamed": { parameters: { @@ -2354,8 +2354,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.8/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.8/rest/orgs)" in the REST API documentation. * @@ -2365,11 +2365,11 @@ export interface webhooks { * @description The name of an organization was changed. */ post: operations["organization/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-published": { parameters: { @@ -2378,8 +2378,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.8/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.8/rest/packages)" in the REST API documentation. * @@ -2387,11 +2387,11 @@ export interface webhooks { * @description A package was published to a registry. */ post: operations["package/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-updated": { parameters: { @@ -2400,8 +2400,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.8/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.8/rest/packages)" in the REST API documentation. * @@ -2409,11 +2409,11 @@ export interface webhooks { * @description A previously published package was updated. */ post: operations["package/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "page-build": { parameters: { @@ -2422,17 +2422,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.8/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.8/rest/pages)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. */ post: operations["page-build"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; ping: { parameters: { @@ -2441,15 +2441,15 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ post: operations["ping"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-converted": { parameters: { @@ -2458,8 +2458,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * @@ -2469,11 +2469,11 @@ export interface webhooks { * @description A note in a classic project was converted to an issue. */ post: operations["project-card/converted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-created": { parameters: { @@ -2482,8 +2482,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * @@ -2493,11 +2493,11 @@ export interface webhooks { * @description A card was added to a classic project. */ post: operations["project-card/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-deleted": { parameters: { @@ -2506,8 +2506,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * @@ -2517,11 +2517,11 @@ export interface webhooks { * @description A card on a classic project was deleted. */ post: operations["project-card/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-edited": { parameters: { @@ -2530,8 +2530,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * @@ -2541,11 +2541,11 @@ export interface webhooks { * @description A note on a classic project was edited. */ post: operations["project-card/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-moved": { parameters: { @@ -2554,8 +2554,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * @@ -2565,11 +2565,11 @@ export interface webhooks { * @description A card on a classic project was moved to another column or to another position in its column. */ post: operations["project-card/moved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-closed": { parameters: { @@ -2578,8 +2578,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * @@ -2589,11 +2589,11 @@ export interface webhooks { * @description A classic project was closed. */ post: operations["project/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-created": { parameters: { @@ -2602,8 +2602,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * @@ -2613,11 +2613,11 @@ export interface webhooks { * @description A column was added to a classic project. */ post: operations["project-column/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-deleted": { parameters: { @@ -2626,8 +2626,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * @@ -2637,11 +2637,11 @@ export interface webhooks { * @description A column was deleted from a classic project. */ post: operations["project-column/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-edited": { parameters: { @@ -2650,8 +2650,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * @@ -2661,11 +2661,11 @@ export interface webhooks { * @description The name of a column on a classic project was changed. */ post: operations["project-column/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-moved": { parameters: { @@ -2674,8 +2674,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * @@ -2685,11 +2685,11 @@ export interface webhooks { * @description A column was moved to a new position on a classic project. */ post: operations["project-column/moved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-created": { parameters: { @@ -2698,8 +2698,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * @@ -2709,11 +2709,11 @@ export interface webhooks { * @description A classic project was created. */ post: operations["project/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-deleted": { parameters: { @@ -2722,8 +2722,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * @@ -2733,11 +2733,11 @@ export interface webhooks { * @description A classic project was deleted. */ post: operations["project/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-edited": { parameters: { @@ -2746,8 +2746,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * @@ -2757,11 +2757,11 @@ export interface webhooks { * @description The name or description of a classic project was changed. */ post: operations["project/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-reopened": { parameters: { @@ -2770,8 +2770,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.8/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.8/rest/projects)" in the REST API documentation. * @@ -2781,11 +2781,11 @@ export interface webhooks { * @description A classic project was closed. */ post: operations["project/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-archived": { parameters: { @@ -2794,8 +2794,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). * @@ -2807,11 +2807,11 @@ export interface webhooks { * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/archived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-converted": { parameters: { @@ -2820,8 +2820,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). * @@ -2833,11 +2833,11 @@ export interface webhooks { * @description A draft issue in an organization project was converted to an issue. */ post: operations["projects-v2-item/converted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-created": { parameters: { @@ -2846,8 +2846,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). * @@ -2859,11 +2859,11 @@ export interface webhooks { * @description An item was added to a project in the organization. */ post: operations["projects-v2-item/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-deleted": { parameters: { @@ -2872,8 +2872,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). * @@ -2885,11 +2885,11 @@ export interface webhooks { * @description An item was deleted from a project in the organization. */ post: operations["projects-v2-item/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-edited": { parameters: { @@ -2898,8 +2898,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). * @@ -2911,11 +2911,11 @@ export interface webhooks { * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. */ post: operations["projects-v2-item/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-reordered": { parameters: { @@ -2924,8 +2924,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). * @@ -2937,11 +2937,11 @@ export interface webhooks { * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. */ post: operations["projects-v2-item/reordered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-restored": { parameters: { @@ -2950,8 +2950,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#projectv2item). * @@ -2963,11 +2963,11 @@ export interface webhooks { * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.8/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/restored"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; public: { parameters: { @@ -2976,17 +2976,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.8/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. */ post: operations["public"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-assigned": { parameters: { @@ -2995,8 +2995,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3006,11 +3006,11 @@ export interface webhooks { * @description A pull request was assigned to a user. */ post: operations["pull-request/assigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-disabled": { parameters: { @@ -3019,8 +3019,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3030,11 +3030,11 @@ export interface webhooks { * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-enabled": { parameters: { @@ -3043,8 +3043,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3054,11 +3054,11 @@ export interface webhooks { * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-closed": { parameters: { @@ -3067,8 +3067,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3078,11 +3078,11 @@ export interface webhooks { * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. */ post: operations["pull-request/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-converted-to-draft": { parameters: { @@ -3091,8 +3091,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3102,11 +3102,11 @@ export interface webhooks { * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/converted-to-draft"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-demilestoned": { parameters: { @@ -3115,8 +3115,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3126,11 +3126,11 @@ export interface webhooks { * @description A pull request was removed from a milestone. */ post: operations["pull-request/demilestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-edited": { parameters: { @@ -3139,8 +3139,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3150,11 +3150,11 @@ export interface webhooks { * @description The title or body of a pull request was edited. */ post: operations["pull-request/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-labeled": { parameters: { @@ -3163,8 +3163,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3174,11 +3174,11 @@ export interface webhooks { * @description A label was added to a pull request. */ post: operations["pull-request/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-locked": { parameters: { @@ -3187,8 +3187,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3198,11 +3198,11 @@ export interface webhooks { * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.8/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-milestoned": { parameters: { @@ -3211,8 +3211,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3222,11 +3222,11 @@ export interface webhooks { * @description A pull request was added to a milestone. */ post: operations["pull-request/milestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-opened": { parameters: { @@ -3235,8 +3235,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3246,11 +3246,11 @@ export interface webhooks { * @description A pull request was created */ post: operations["pull-request/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-ready-for-review": { parameters: { @@ -3259,8 +3259,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3270,11 +3270,11 @@ export interface webhooks { * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/ready-for-review"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-reopened": { parameters: { @@ -3283,8 +3283,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3294,11 +3294,11 @@ export interface webhooks { * @description A previously closed pull request was reopened. */ post: operations["pull-request/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-created": { parameters: { @@ -3307,8 +3307,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.8/rest/pulls/comments)" in the REST API documentation. * @@ -3318,11 +3318,11 @@ export interface webhooks { * @description A comment on a pull request diff was created. */ post: operations["pull-request-review-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-deleted": { parameters: { @@ -3331,8 +3331,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.8/rest/pulls/comments)" in the REST API documentation. * @@ -3342,11 +3342,11 @@ export interface webhooks { * @description A comment on a pull request diff was deleted. */ post: operations["pull-request-review-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-edited": { parameters: { @@ -3355,8 +3355,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.8/rest/pulls/comments)" in the REST API documentation. * @@ -3366,11 +3366,11 @@ export interface webhooks { * @description The content of a comment on a pull request diff was changed. */ post: operations["pull-request-review-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-dismissed": { parameters: { @@ -3379,8 +3379,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.8/rest/pulls/reviews)" in the REST API documentation. * @@ -3390,11 +3390,11 @@ export interface webhooks { * @description A review on a pull request was dismissed. */ post: operations["pull-request-review/dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-edited": { parameters: { @@ -3403,8 +3403,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.8/rest/pulls/reviews)" in the REST API documentation. * @@ -3414,11 +3414,11 @@ export interface webhooks { * @description The body comment on a pull request review was edited. */ post: operations["pull-request-review/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-request-removed": { parameters: { @@ -3427,8 +3427,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3438,11 +3438,11 @@ export interface webhooks { * @description A request for review by a person or team was removed from a pull request. */ post: operations["pull-request/review-request-removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-requested": { parameters: { @@ -3451,8 +3451,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3462,11 +3462,11 @@ export interface webhooks { * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." */ post: operations["pull-request/review-requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-submitted": { parameters: { @@ -3475,8 +3475,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.8/rest/pulls/reviews)" in the REST API documentation. * @@ -3486,11 +3486,11 @@ export interface webhooks { * @description A review on a pull request was submitted. */ post: operations["pull-request-review/submitted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-resolved": { parameters: { @@ -3499,8 +3499,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.8/rest/pulls/comments)" in the REST API documentation. * @@ -3510,11 +3510,11 @@ export interface webhooks { * @description A comment thread on a pull request was marked as resolved. */ post: operations["pull-request-review-thread/resolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-unresolved": { parameters: { @@ -3523,8 +3523,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.8/rest/pulls/comments)" in the REST API documentation. * @@ -3534,11 +3534,11 @@ export interface webhooks { * @description A previously resolved comment thread on a pull request was marked as unresolved. */ post: operations["pull-request-review-thread/unresolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-synchronize": { parameters: { @@ -3547,8 +3547,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3558,11 +3558,11 @@ export interface webhooks { * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. */ post: operations["pull-request/synchronize"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unassigned": { parameters: { @@ -3571,8 +3571,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3582,11 +3582,11 @@ export interface webhooks { * @description A user was unassigned from a pull request. */ post: operations["pull-request/unassigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlabeled": { parameters: { @@ -3595,8 +3595,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3606,11 +3606,11 @@ export interface webhooks { * @description A label was removed from a pull request. */ post: operations["pull-request/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlocked": { parameters: { @@ -3619,8 +3619,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)" in the REST API documentation. * @@ -3630,11 +3630,11 @@ export interface webhooks { * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.8/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; push: { parameters: { @@ -3643,8 +3643,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch * and tag deletions, use the [`delete`](#delete) webhook event. @@ -3653,11 +3653,11 @@ export interface webhooks { * * **Note**: An event will not be created when more than three tags are pushed at once. */ post: operations["push"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-published": { parameters: { @@ -3666,8 +3666,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.8/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.8/rest/packages)" in the REST API documentation. * @@ -3677,11 +3677,11 @@ export interface webhooks { * @description A package was published to a registry. */ post: operations["registry-package/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-updated": { parameters: { @@ -3690,8 +3690,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.8/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.8/rest/packages)" in the REST API documentation. * @@ -3701,11 +3701,11 @@ export interface webhooks { * @description A package that was previously published to a registry was updated. */ post: operations["registry-package/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-created": { parameters: { @@ -3714,8 +3714,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. * @@ -3723,11 +3723,11 @@ export interface webhooks { * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. */ post: operations["release/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-deleted": { parameters: { @@ -3736,8 +3736,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. * @@ -3745,11 +3745,11 @@ export interface webhooks { * @description A release, pre-release, or draft release was deleted. */ post: operations["release/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-edited": { parameters: { @@ -3758,8 +3758,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. * @@ -3767,11 +3767,11 @@ export interface webhooks { * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." */ post: operations["release/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-prereleased": { parameters: { @@ -3780,8 +3780,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. * @@ -3789,11 +3789,11 @@ export interface webhooks { * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. */ post: operations["release/prereleased"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-published": { parameters: { @@ -3802,8 +3802,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. * @@ -3811,11 +3811,11 @@ export interface webhooks { * @description A release, pre-release, or draft of a release was published. */ post: operations["release/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-released": { parameters: { @@ -3824,8 +3824,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. * @@ -3833,11 +3833,11 @@ export interface webhooks { * @description A release was published, or a pre-release was changed to a release. */ post: operations["release/released"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-unpublished": { parameters: { @@ -3846,8 +3846,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.8/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.8/rest/releases)" in the REST API documentation. * @@ -3855,11 +3855,11 @@ export interface webhooks { * @description A release or pre-release was unpublished. */ post: operations["release/unpublished"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-anonymous-access-disabled": { parameters: { @@ -3868,8 +3868,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * @@ -3877,11 +3877,11 @@ export interface webhooks { * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-anonymous-access-enabled": { parameters: { @@ -3890,8 +3890,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * @@ -3899,11 +3899,11 @@ export interface webhooks { * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-archived": { parameters: { @@ -3912,8 +3912,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * @@ -3921,11 +3921,11 @@ export interface webhooks { * @description A repository was archived. */ post: operations["repository/archived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-created": { parameters: { @@ -3934,8 +3934,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * @@ -3943,11 +3943,11 @@ export interface webhooks { * @description A repository was created. */ post: operations["repository/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-deleted": { parameters: { @@ -3956,8 +3956,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * @@ -3965,11 +3965,11 @@ export interface webhooks { * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. */ post: operations["repository/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-dispatch-sample.collected": { parameters: { @@ -3978,8 +3978,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.8/rest/repos/repos#create-a-repository-dispatch-event). * @@ -3987,11 +3987,11 @@ export interface webhooks { * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. */ post: operations["repository-dispatch/sample.collected"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-edited": { parameters: { @@ -4000,8 +4000,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * @@ -4009,11 +4009,11 @@ export interface webhooks { * @description The topics, default branch, description, or homepage of a repository was changed. */ post: operations["repository/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-privatized": { parameters: { @@ -4022,8 +4022,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * @@ -4031,11 +4031,11 @@ export interface webhooks { * @description The visibility of a repository was changed to `private`. */ post: operations["repository/privatized"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-publicized": { parameters: { @@ -4044,8 +4044,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * @@ -4053,11 +4053,11 @@ export interface webhooks { * @description The visibility of a repository was changed to `public`. */ post: operations["repository/publicized"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-renamed": { parameters: { @@ -4066,8 +4066,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * @@ -4075,11 +4075,11 @@ export interface webhooks { * @description The name of a repository was changed. */ post: operations["repository/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-transferred": { parameters: { @@ -4088,8 +4088,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * @@ -4097,11 +4097,11 @@ export interface webhooks { * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. */ post: operations["repository/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-unarchived": { parameters: { @@ -4110,8 +4110,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.8/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.8/rest/repos)" in the REST API documentation. * @@ -4119,11 +4119,11 @@ export interface webhooks { * @description A previously archived repository was unarchived. */ post: operations["repository/unarchived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-create": { parameters: { @@ -4132,8 +4132,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4141,11 +4141,11 @@ export interface webhooks { * @description A repository vulnerability alert was created. */ post: operations["repository-vulnerability-alert/create"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-dismiss": { parameters: { @@ -4154,8 +4154,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4163,11 +4163,11 @@ export interface webhooks { * @description A repository vulnerability alert was dismissed. */ post: operations["repository-vulnerability-alert/dismiss"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-reopen": { parameters: { @@ -4176,8 +4176,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4185,11 +4185,11 @@ export interface webhooks { * @description A previously dismissed or resolved repository vulnerability alert was reopened. */ post: operations["repository-vulnerability-alert/reopen"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-resolve": { parameters: { @@ -4198,8 +4198,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4207,11 +4207,11 @@ export interface webhooks { * @description A repository vulnerability alert was marked as resolved. */ post: operations["repository-vulnerability-alert/resolve"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-created": { parameters: { @@ -4220,8 +4220,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.8/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.8/rest/secret-scanning)" in the REST API documentation. * @@ -4231,11 +4231,11 @@ export interface webhooks { * @description A secret scanning alert was created. */ post: operations["secret-scanning-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-location-created": { parameters: { @@ -4244,8 +4244,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. * @@ -4257,11 +4257,11 @@ export interface webhooks { * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. */ post: operations["secret-scanning-alert-location/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-reopened": { parameters: { @@ -4270,8 +4270,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.8/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.8/rest/secret-scanning)" in the REST API documentation. * @@ -4281,11 +4281,11 @@ export interface webhooks { * @description A previously closed secret scanning alert was reopened. */ post: operations["secret-scanning-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-resolved": { parameters: { @@ -4294,8 +4294,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.8/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.8/rest/secret-scanning)" in the REST API documentation. * @@ -4305,11 +4305,11 @@ export interface webhooks { * @description A secret scanning alert was closed. */ post: operations["secret-scanning-alert/resolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-revoked": { parameters: { @@ -4318,8 +4318,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.8/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.8/rest/secret-scanning)" in the REST API documentation. * @@ -4329,11 +4329,11 @@ export interface webhooks { * @description A secret scanning alert was marked as revoked. */ post: operations["secret-scanning-alert/revoked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-published": { parameters: { @@ -4342,8 +4342,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.8/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#securityadvisory). * @@ -4351,11 +4351,11 @@ export interface webhooks { * @description A security advisory was published to the GitHub community. */ post: operations["security-advisory/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-updated": { parameters: { @@ -4364,8 +4364,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.8/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#securityadvisory). * @@ -4373,11 +4373,11 @@ export interface webhooks { * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. */ post: operations["security-advisory/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-withdrawn": { parameters: { @@ -4386,8 +4386,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.8/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#securityadvisory). * @@ -4395,11 +4395,11 @@ export interface webhooks { * @description A previously published security advisory was withdrawn. */ post: operations["security-advisory/withdrawn"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-and-analysis": { parameters: { @@ -4408,17 +4408,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.8/code-security/getting-started/github-security-features)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. */ post: operations["security-and-analysis"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-cancelled": { parameters: { @@ -4427,8 +4427,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). * @@ -4438,11 +4438,11 @@ export interface webhooks { * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/cancelled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-created": { parameters: { @@ -4451,8 +4451,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). * @@ -4460,11 +4460,11 @@ export interface webhooks { * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. */ post: operations["sponsorship/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-edited": { parameters: { @@ -4473,8 +4473,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). * @@ -4482,11 +4482,11 @@ export interface webhooks { * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. */ post: operations["sponsorship/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-cancellation": { parameters: { @@ -4495,8 +4495,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). * @@ -4506,11 +4506,11 @@ export interface webhooks { * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/pending-cancellation"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-tier-change": { parameters: { @@ -4519,8 +4519,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). * @@ -4528,11 +4528,11 @@ export interface webhooks { * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. */ post: operations["sponsorship/pending-tier-change"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-tier-changed": { parameters: { @@ -4541,8 +4541,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.8/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#sponsorship). * @@ -4550,11 +4550,11 @@ export interface webhooks { * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. */ post: operations["sponsorship/tier-changed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-created": { parameters: { @@ -4563,8 +4563,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.8/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.8/rest/activity/starring)" in the REST API documentation. * @@ -4572,11 +4572,11 @@ export interface webhooks { * @description Someone starred a repository. */ post: operations["star/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-deleted": { parameters: { @@ -4585,8 +4585,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.8/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.8/rest/activity/starring)" in the REST API documentation. * @@ -4594,11 +4594,11 @@ export interface webhooks { * @description Someone unstarred the repository. */ post: operations["star/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; status: { parameters: { @@ -4607,17 +4607,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.8/rest/commits/statuses)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. */ post: operations["status"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-add": { parameters: { @@ -4626,8 +4626,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a team is added to a repository. * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.8/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." * @@ -4635,11 +4635,11 @@ export interface webhooks { * * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. */ post: operations["team-add"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-added-to-repository": { parameters: { @@ -4648,8 +4648,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." @@ -4658,11 +4658,11 @@ export interface webhooks { * @description A team was granted access to a repository. */ post: operations["team/added-to-repository"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-created": { parameters: { @@ -4671,8 +4671,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." @@ -4681,11 +4681,11 @@ export interface webhooks { * @description A team was created. */ post: operations["team/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-deleted": { parameters: { @@ -4694,8 +4694,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." @@ -4704,11 +4704,11 @@ export interface webhooks { * @description A team was deleted. */ post: operations["team/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-edited": { parameters: { @@ -4717,8 +4717,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." @@ -4727,11 +4727,11 @@ export interface webhooks { * @description The name, description, or visibility of a team was changed. */ post: operations["team/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-removed-from-repository": { parameters: { @@ -4740,8 +4740,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.8/organizations/organizing-members-into-teams/about-teams)." @@ -4750,11 +4750,11 @@ export interface webhooks { * @description A team's access to a repository was removed. */ post: operations["team/removed-from-repository"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "user-created": { parameters: { @@ -4763,18 +4763,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was added to the enterprise. */ post: operations["user/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "user-deleted": { parameters: { @@ -4783,18 +4783,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was removed from the enterprise. */ post: operations["user/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "watch-started": { parameters: { @@ -4803,8 +4803,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-server@3.8/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-server@3.8/rest/activity/watching)" in the REST API documentation. * @@ -4812,11 +4812,11 @@ export interface webhooks { * @description Someone started watching the repository. */ post: operations["watch/started"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-dispatch": { parameters: { @@ -4825,19 +4825,19 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.8/actions/managing-workflow-runs/manually-running-a-workflow)." * * For activity relating to workflow runs, use the `workflow_run` event. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["workflow-dispatch"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-completed": { parameters: { @@ -4846,8 +4846,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.8/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -4857,11 +4857,11 @@ export interface webhooks { * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. */ post: operations["workflow-job/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-in-progress": { parameters: { @@ -4870,8 +4870,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.8/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -4881,11 +4881,11 @@ export interface webhooks { * @description A job in a workflow run started processing on a runner. */ post: operations["workflow-job/in-progress"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-queued": { parameters: { @@ -4894,8 +4894,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.8/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -4905,11 +4905,11 @@ export interface webhooks { * @description A job in a workflow run was created. */ post: operations["workflow-job/queued"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-waiting": { parameters: { @@ -4918,8 +4918,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.8/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -4929,11 +4929,11 @@ export interface webhooks { * @description A job in a workflow run was created and is waiting for approvals. */ post: operations["workflow-job/waiting"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-completed": { parameters: { @@ -4942,8 +4942,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.8/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-runs)" in the REST API documentation. * @@ -4953,11 +4953,11 @@ export interface webhooks { * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. */ post: operations["workflow-run/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-in-progress": { parameters: { @@ -4966,8 +4966,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.8/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-runs)" in the REST API documentation. * @@ -4977,11 +4977,11 @@ export interface webhooks { * @description A workflow run started processing on a runner. */ post: operations["workflow-run/in-progress"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-requested": { parameters: { @@ -4990,8 +4990,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.8/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.8/rest/actions/workflow-runs)" in the REST API documentation. * @@ -5001,11 +5001,11 @@ export interface webhooks { * @description A workflow run was triggered. */ post: operations["workflow-run/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; } export interface components { @@ -5885,7 +5885,7 @@ export interface components { metadata?: string; contents?: string; deployments?: string; - [key: string]: string; + [key: string]: string | undefined; }; /** @description The list of events for the GitHub app */ events: string[]; @@ -26313,11 +26313,11 @@ export interface components { }; platform?: string; metadata?: { - [key: string]: string; + [key: string]: string | undefined; }; repo?: string; dependencies?: { - [key: string]: string; + [key: string]: string | undefined; }[]; commit_oid?: string; }; diff --git a/packages/openapi-webhooks-types-ghes-3.9/types.d.ts b/packages/openapi-webhooks-types-ghes-3.9/types.d.ts index d54ab65..673dc39 100644 --- a/packages/openapi-webhooks-types-ghes-3.9/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.9/types.d.ts @@ -12,8 +12,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.9/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.9/rest/branches/branch-protection)" in the REST API documentation. * @@ -21,11 +21,11 @@ export interface webhooks { * @description A branch protection rule was created. */ post: operations["branch-protection-rule/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-deleted": { parameters: { @@ -34,8 +34,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.9/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.9/rest/branches/branch-protection)" in the REST API documentation. * @@ -43,11 +43,11 @@ export interface webhooks { * @description A branch protection rule was deleted. */ post: operations["branch-protection-rule/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-edited": { parameters: { @@ -56,8 +56,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.9/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.9/rest/branches/branch-protection)" in the REST API documentation. * @@ -65,11 +65,11 @@ export interface webhooks { * @description A branch protection rule was edited. */ post: operations["branch-protection-rule/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "cache-sync": { parameters: { @@ -78,15 +78,15 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](https://docs.github.com/enterprise-server@3.9/admin/enterprise-management/caching-repositories/about-repository-caching)." */ post: operations["cache-sync"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-completed": { parameters: { @@ -95,8 +95,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.9/rest/checks/runs)" in the REST API documentation. * @@ -110,11 +110,11 @@ export interface webhooks { * @description A check run was completed, and a conclusion is available. */ post: operations["check-run/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-created": { parameters: { @@ -123,8 +123,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.9/rest/checks/runs)" in the REST API documentation. * @@ -138,11 +138,11 @@ export interface webhooks { * @description A new check run was created. */ post: operations["check-run/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-requested-action": { parameters: { @@ -151,8 +151,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.9/rest/checks/runs)" in the REST API documentation. * @@ -166,11 +166,11 @@ export interface webhooks { * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.9/developers/apps/guides/creating-ci-tests-with-the-checks-api)." */ post: operations["check-run/requested-action"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-rerequested": { parameters: { @@ -179,8 +179,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.9/rest/checks/runs)" in the REST API documentation. * @@ -194,11 +194,11 @@ export interface webhooks { * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. */ post: operations["check-run/rerequested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-completed": { parameters: { @@ -207,8 +207,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.9/rest/checks/suites)" in the REST API documentation. * @@ -222,11 +222,11 @@ export interface webhooks { * @description All check runs in a check suite have completed, and a conclusion is available. */ post: operations["check-suite/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-requested": { parameters: { @@ -235,8 +235,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.9/rest/checks/suites)" in the REST API documentation. * @@ -250,11 +250,11 @@ export interface webhooks { * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.9/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-server@3.9/rest/checks/runs#create-a-check-run)" in the REST API documentation. */ post: operations["check-suite/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-rerequested": { parameters: { @@ -263,8 +263,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.9/rest/checks/suites)" in the REST API documentation. * @@ -278,11 +278,11 @@ export interface webhooks { * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.9/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-server@3.9/rest/checks/suites#create-a-check-suite)" in the REST API documentation. */ post: operations["check-suite/rerequested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-appeared-in-branch": { parameters: { @@ -291,8 +291,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. * @@ -300,11 +300,11 @@ export interface webhooks { * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. */ post: operations["code-scanning-alert/appeared-in-branch"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-closed-by-user": { parameters: { @@ -313,8 +313,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. * @@ -322,11 +322,11 @@ export interface webhooks { * @description Someone closed a code scanning alert. */ post: operations["code-scanning-alert/closed-by-user"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-created": { parameters: { @@ -335,8 +335,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. * @@ -344,11 +344,11 @@ export interface webhooks { * @description A code scanning alert was created in a repository. */ post: operations["code-scanning-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-fixed": { parameters: { @@ -357,8 +357,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. * @@ -366,11 +366,11 @@ export interface webhooks { * @description A code scanning alert was fixed in a branch by a commit. */ post: operations["code-scanning-alert/fixed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened": { parameters: { @@ -379,8 +379,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. * @@ -388,11 +388,11 @@ export interface webhooks { * @description A previously fixed code scanning alert reappeared in a branch. */ post: operations["code-scanning-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened-by-user": { parameters: { @@ -401,8 +401,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.9/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.9/rest/code-scanning)" in the REST API documentation. * @@ -410,11 +410,11 @@ export interface webhooks { * @description Someone reopened a code scanning alert. */ post: operations["code-scanning-alert/reopened-by-user"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "commit-comment-created": { parameters: { @@ -423,8 +423,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-server@3.9/rest/commits/comments)" in the REST API documentation. * @@ -434,11 +434,11 @@ export interface webhooks { * @description Someone commented on a commit. */ post: operations["commit-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; create: { parameters: { @@ -447,8 +447,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git branch or tag is created. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. @@ -457,11 +457,11 @@ export interface webhooks { * - This event will not occur when more than three tags are created at once. * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. */ post: operations["create"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; delete: { parameters: { @@ -470,8 +470,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including * branch and tag deletions, use the [`push`](#push) webhook event. * @@ -479,11 +479,11 @@ export interface webhooks { * * **Note**: This event will not occur when more than three tags are deleted at once. */ post: operations["delete"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-created": { parameters: { @@ -492,8 +492,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -505,11 +505,11 @@ export interface webhooks { * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-dismissed": { parameters: { @@ -518,8 +518,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -531,11 +531,11 @@ export interface webhooks { * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-fixed": { parameters: { @@ -544,8 +544,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -557,11 +557,11 @@ export interface webhooks { * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reintroduced": { parameters: { @@ -570,8 +570,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -583,11 +583,11 @@ export interface webhooks { * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reopened": { parameters: { @@ -596,8 +596,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -609,11 +609,11 @@ export interface webhooks { * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-created": { parameters: { @@ -622,8 +622,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.9/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.9/rest/deploy-keys)" in the REST API documentation. * @@ -631,11 +631,11 @@ export interface webhooks { * @description A deploy key was created. */ post: operations["deploy-key/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-deleted": { parameters: { @@ -644,8 +644,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.9/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.9/rest/deploy-keys)" in the REST API documentation. * @@ -653,11 +653,11 @@ export interface webhooks { * @description A deploy key was deleted. */ post: operations["deploy-key/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-created": { parameters: { @@ -666,8 +666,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.9/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.9/rest/deployments/deployments)" in the REST API documentation. * @@ -677,11 +677,11 @@ export interface webhooks { * @description A deployment was created. */ post: operations["deployment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-approved": { parameters: { @@ -690,8 +690,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.9/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.9/rest/deployments/deployments)" in the REST API documentation. * @@ -701,11 +701,11 @@ export interface webhooks { * @description A deployment review was approved. */ post: operations["deployment-review/approved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-rejected": { parameters: { @@ -714,8 +714,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.9/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.9/rest/deployments/deployments)" in the REST API documentation. * @@ -725,11 +725,11 @@ export interface webhooks { * @description A deployment review was rejected. */ post: operations["deployment-review/rejected"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-requested": { parameters: { @@ -738,8 +738,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.9/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.9/rest/deployments/deployments)" in the REST API documentation. * @@ -749,11 +749,11 @@ export interface webhooks { * @description A deployment review was requested. */ post: operations["deployment-review/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-status-created": { parameters: { @@ -762,8 +762,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.9/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.9/rest/deployments/deployments)" in the REST API documentation. * @@ -773,11 +773,11 @@ export interface webhooks { * @description A new deployment status was created. */ post: operations["deployment-status/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-answered": { parameters: { @@ -786,8 +786,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -799,11 +799,11 @@ export interface webhooks { * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-category-changed": { parameters: { @@ -812,8 +812,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -825,11 +825,11 @@ export interface webhooks { * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-closed": { parameters: { @@ -838,8 +838,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -851,11 +851,11 @@ export interface webhooks { * @description A discussion was closed. */ post: operations["discussion/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-created": { parameters: { @@ -864,8 +864,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -877,11 +877,11 @@ export interface webhooks { * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-deleted": { parameters: { @@ -890,8 +890,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -903,11 +903,11 @@ export interface webhooks { * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-edited": { parameters: { @@ -916,8 +916,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -929,11 +929,11 @@ export interface webhooks { * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-created": { parameters: { @@ -942,8 +942,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -955,11 +955,11 @@ export interface webhooks { * @description A discussion was created. */ post: operations["discussion/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-deleted": { parameters: { @@ -968,8 +968,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -981,11 +981,11 @@ export interface webhooks { * @description A discussion was deleted. */ post: operations["discussion/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-edited": { parameters: { @@ -994,8 +994,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -1007,11 +1007,11 @@ export interface webhooks { * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-labeled": { parameters: { @@ -1020,8 +1020,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -1033,11 +1033,11 @@ export interface webhooks { * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-locked": { parameters: { @@ -1046,8 +1046,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -1059,11 +1059,11 @@ export interface webhooks { * @description A discussion was locked. */ post: operations["discussion/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-pinned": { parameters: { @@ -1072,8 +1072,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -1085,11 +1085,11 @@ export interface webhooks { * @description A discussion was pinned. */ post: operations["discussion/pinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-reopened": { parameters: { @@ -1098,8 +1098,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -1111,11 +1111,11 @@ export interface webhooks { * @description A discussion was reopened. */ post: operations["discussion/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-transferred": { parameters: { @@ -1124,8 +1124,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -1137,11 +1137,11 @@ export interface webhooks { * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unanswered": { parameters: { @@ -1150,8 +1150,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -1163,11 +1163,11 @@ export interface webhooks { * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlabeled": { parameters: { @@ -1176,8 +1176,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -1189,11 +1189,11 @@ export interface webhooks { * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlocked": { parameters: { @@ -1202,8 +1202,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -1215,11 +1215,11 @@ export interface webhooks { * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unpinned": { parameters: { @@ -1228,8 +1228,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.9/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#discussion). * @@ -1241,11 +1241,11 @@ export interface webhooks { * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "enterprise-anonymous-access-disabled": { parameters: { @@ -1254,18 +1254,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.9/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was disabled. */ post: operations["enterprise/anonymous-access-disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "enterprise-anonymous-access-enabled": { parameters: { @@ -1274,18 +1274,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.9/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was enabled. */ post: operations["enterprise/anonymous-access-enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; fork: { parameters: { @@ -1294,17 +1294,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.9/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.9/rest/repos/forks)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["fork"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "github-app-authorization-revoked": { parameters: { @@ -1313,8 +1313,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. * @@ -1324,11 +1324,11 @@ export interface webhooks { * @description Someone revoked their authorization of a GitHub App. */ post: operations["github-app-authorization/revoked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; gollum: { parameters: { @@ -1337,17 +1337,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.9/communities/documenting-your-project-with-wikis/about-wikis)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["gollum"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-created": { parameters: { @@ -1356,8 +1356,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1365,11 +1365,11 @@ export interface webhooks { * @description Someone installed a GitHub App on a user or organization account. */ post: operations["installation/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-deleted": { parameters: { @@ -1378,8 +1378,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1387,11 +1387,11 @@ export interface webhooks { * @description Someone uninstalled a GitHub App from their user or organization account. */ post: operations["installation/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-new-permissions-accepted": { parameters: { @@ -1400,8 +1400,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1409,11 +1409,11 @@ export interface webhooks { * @description Someone granted new permissions to a GitHub App. */ post: operations["installation/new-permissions-accepted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-added": { parameters: { @@ -1422,8 +1422,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1431,11 +1431,11 @@ export interface webhooks { * @description A GitHub App installation was granted access to one or more repositories. */ post: operations["installation-repositories/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-removed": { parameters: { @@ -1444,8 +1444,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1453,11 +1453,11 @@ export interface webhooks { * @description Access to one or more repositories was revoked for a GitHub App installation. */ post: operations["installation-repositories/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-suspend": { parameters: { @@ -1466,8 +1466,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1475,11 +1475,11 @@ export interface webhooks { * @description Someone blocked access by a GitHub App to their user or organization account. */ post: operations["installation/suspend"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-target-renamed": { parameters: { @@ -1488,18 +1488,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.9/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.9/rest/apps)" in the REST API documentation. * @description Somebody renamed the user or organization account that a GitHub App is installed on. */ post: operations["installation-target/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-unsuspend": { parameters: { @@ -1508,8 +1508,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1517,11 +1517,11 @@ export interface webhooks { * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. */ post: operations["installation/unsuspend"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-created": { parameters: { @@ -1530,8 +1530,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.9/rest/issues/comments)" in the REST API documentation. * @@ -1541,11 +1541,11 @@ export interface webhooks { * @description A comment on an issue or pull request was created. */ post: operations["issue-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-deleted": { parameters: { @@ -1554,8 +1554,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.9/rest/issues/comments)" in the REST API documentation. * @@ -1565,11 +1565,11 @@ export interface webhooks { * @description A comment on an issue or pull request was deleted. */ post: operations["issue-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-edited": { parameters: { @@ -1578,8 +1578,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.9/rest/issues/comments)" in the REST API documentation. * @@ -1589,11 +1589,11 @@ export interface webhooks { * @description A comment on an issue or pull request was edited. */ post: operations["issue-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-assigned": { parameters: { @@ -1602,8 +1602,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * @@ -1613,11 +1613,11 @@ export interface webhooks { * @description An issue was assigned to a user. */ post: operations["issues/assigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-closed": { parameters: { @@ -1626,8 +1626,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * @@ -1637,11 +1637,11 @@ export interface webhooks { * @description An issue was closed. */ post: operations["issues/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-deleted": { parameters: { @@ -1650,8 +1650,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * @@ -1661,11 +1661,11 @@ export interface webhooks { * @description An issue was deleted. */ post: operations["issues/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-demilestoned": { parameters: { @@ -1674,8 +1674,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * @@ -1685,11 +1685,11 @@ export interface webhooks { * @description An issue was removed from a milestone. */ post: operations["issues/demilestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-edited": { parameters: { @@ -1698,8 +1698,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * @@ -1709,11 +1709,11 @@ export interface webhooks { * @description The title or body on an issue was edited. */ post: operations["issues/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-labeled": { parameters: { @@ -1722,8 +1722,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * @@ -1733,11 +1733,11 @@ export interface webhooks { * @description A label was added to an issue. */ post: operations["issues/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-locked": { parameters: { @@ -1746,8 +1746,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * @@ -1757,11 +1757,11 @@ export interface webhooks { * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.9/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-milestoned": { parameters: { @@ -1770,8 +1770,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * @@ -1781,11 +1781,11 @@ export interface webhooks { * @description An issue was added to a milestone. */ post: operations["issues/milestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-opened": { parameters: { @@ -1794,8 +1794,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * @@ -1805,11 +1805,11 @@ export interface webhooks { * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. */ post: operations["issues/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-pinned": { parameters: { @@ -1818,8 +1818,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * @@ -1829,11 +1829,11 @@ export interface webhooks { * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/pinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-reopened": { parameters: { @@ -1842,8 +1842,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * @@ -1853,11 +1853,11 @@ export interface webhooks { * @description A closed issue was reopened. */ post: operations["issues/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-transferred": { parameters: { @@ -1866,8 +1866,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * @@ -1877,11 +1877,11 @@ export interface webhooks { * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." */ post: operations["issues/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unassigned": { parameters: { @@ -1890,8 +1890,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * @@ -1901,11 +1901,11 @@ export interface webhooks { * @description A user was unassigned from an issue. */ post: operations["issues/unassigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlabeled": { parameters: { @@ -1914,8 +1914,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * @@ -1925,11 +1925,11 @@ export interface webhooks { * @description A label was removed from an issue. */ post: operations["issues/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlocked": { parameters: { @@ -1938,8 +1938,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * @@ -1949,11 +1949,11 @@ export interface webhooks { * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.9/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unpinned": { parameters: { @@ -1962,8 +1962,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.9/rest/issues)" in the REST API documentation. * @@ -1973,11 +1973,11 @@ export interface webhooks { * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.9/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/unpinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-created": { parameters: { @@ -1986,8 +1986,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.9/rest/issues/labels)" in the REST API documentation. * @@ -1997,11 +1997,11 @@ export interface webhooks { * @description A label was created. */ post: operations["label/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-deleted": { parameters: { @@ -2010,8 +2010,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.9/rest/issues/labels)" in the REST API documentation. * @@ -2021,11 +2021,11 @@ export interface webhooks { * @description A label was deleted. */ post: operations["label/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-edited": { parameters: { @@ -2034,8 +2034,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.9/rest/issues/labels)" in the REST API documentation. * @@ -2045,11 +2045,11 @@ export interface webhooks { * @description A label's name, description, or color was changed. */ post: operations["label/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-added": { parameters: { @@ -2058,8 +2058,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.9/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2067,11 +2067,11 @@ export interface webhooks { * @description A GitHub user accepted an invitation to a repository. */ post: operations["member/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-edited": { parameters: { @@ -2080,8 +2080,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.9/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2089,11 +2089,11 @@ export interface webhooks { * @description Permissions were changed for a collaborator on a repository. */ post: operations["member/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-removed": { parameters: { @@ -2102,8 +2102,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.9/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2111,11 +2111,11 @@ export interface webhooks { * @description A collaborator was removed from a repository. */ post: operations["member/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-added": { parameters: { @@ -2124,8 +2124,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.9/rest/teams/members)" in the REST API documentation. * @@ -2133,11 +2133,11 @@ export interface webhooks { * @description An organization member was added to a team. */ post: operations["membership/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-removed": { parameters: { @@ -2146,8 +2146,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.9/rest/teams/members)" in the REST API documentation. * @@ -2155,11 +2155,11 @@ export interface webhooks { * @description An organization member was removed from a team. */ post: operations["membership/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "meta-deleted": { parameters: { @@ -2168,8 +2168,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a webhook itself. * @@ -2177,11 +2177,11 @@ export interface webhooks { * @description The webhook was deleted. */ post: operations["meta/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-closed": { parameters: { @@ -2190,8 +2190,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.9/rest/issues/milestones)" in the REST API documentation. * @@ -2201,11 +2201,11 @@ export interface webhooks { * @description A milestone was closed. */ post: operations["milestone/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-created": { parameters: { @@ -2214,8 +2214,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.9/rest/issues/milestones)" in the REST API documentation. * @@ -2225,11 +2225,11 @@ export interface webhooks { * @description A milestone was created. */ post: operations["milestone/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-deleted": { parameters: { @@ -2238,8 +2238,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.9/rest/issues/milestones)" in the REST API documentation. * @@ -2249,11 +2249,11 @@ export interface webhooks { * @description A milestone was deleted. */ post: operations["milestone/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-edited": { parameters: { @@ -2262,8 +2262,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.9/rest/issues/milestones)" in the REST API documentation. * @@ -2273,11 +2273,11 @@ export interface webhooks { * @description A milestone was edited. */ post: operations["milestone/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-opened": { parameters: { @@ -2286,8 +2286,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.9/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.9/rest/issues/milestones)" in the REST API documentation. * @@ -2297,11 +2297,11 @@ export interface webhooks { * @description A milestone was opened. */ post: operations["milestone/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-deleted": { parameters: { @@ -2310,8 +2310,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.9/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.9/rest/orgs)" in the REST API documentation. * @@ -2321,11 +2321,11 @@ export interface webhooks { * @description An organization was deleted. */ post: operations["organization/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-added": { parameters: { @@ -2334,8 +2334,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.9/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.9/rest/orgs)" in the REST API documentation. * @@ -2345,11 +2345,11 @@ export interface webhooks { * @description A member accepted an invitation to join an organization. */ post: operations["organization/member-added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-invited": { parameters: { @@ -2358,8 +2358,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.9/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.9/rest/orgs)" in the REST API documentation. * @@ -2369,11 +2369,11 @@ export interface webhooks { * @description A member was invited to join the organization. */ post: operations["organization/member-invited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-removed": { parameters: { @@ -2382,8 +2382,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.9/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.9/rest/orgs)" in the REST API documentation. * @@ -2393,11 +2393,11 @@ export interface webhooks { * @description A member was removed from the organization. */ post: operations["organization/member-removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-renamed": { parameters: { @@ -2406,8 +2406,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.9/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.9/rest/orgs)" in the REST API documentation. * @@ -2417,11 +2417,11 @@ export interface webhooks { * @description The name of an organization was changed. */ post: operations["organization/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-published": { parameters: { @@ -2430,8 +2430,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.9/rest/packages)" in the REST API documentation. * @@ -2439,11 +2439,11 @@ export interface webhooks { * @description A package was published to a registry. */ post: operations["package/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-updated": { parameters: { @@ -2452,8 +2452,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.9/rest/packages)" in the REST API documentation. * @@ -2461,11 +2461,11 @@ export interface webhooks { * @description A previously published package was updated. */ post: operations["package/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "page-build": { parameters: { @@ -2474,17 +2474,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.9/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.9/rest/pages)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. */ post: operations["page-build"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; ping: { parameters: { @@ -2493,15 +2493,15 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ post: operations["ping"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-converted": { parameters: { @@ -2510,8 +2510,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * @@ -2521,11 +2521,11 @@ export interface webhooks { * @description A note in a classic project was converted to an issue. */ post: operations["project-card/converted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-created": { parameters: { @@ -2534,8 +2534,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * @@ -2545,11 +2545,11 @@ export interface webhooks { * @description A card was added to a classic project. */ post: operations["project-card/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-deleted": { parameters: { @@ -2558,8 +2558,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * @@ -2569,11 +2569,11 @@ export interface webhooks { * @description A card on a classic project was deleted. */ post: operations["project-card/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-edited": { parameters: { @@ -2582,8 +2582,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * @@ -2593,11 +2593,11 @@ export interface webhooks { * @description A note on a classic project was edited. */ post: operations["project-card/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-moved": { parameters: { @@ -2606,8 +2606,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * @@ -2617,11 +2617,11 @@ export interface webhooks { * @description A card on a classic project was moved to another column or to another position in its column. */ post: operations["project-card/moved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-closed": { parameters: { @@ -2630,8 +2630,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * @@ -2641,11 +2641,11 @@ export interface webhooks { * @description A classic project was closed. */ post: operations["project/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-created": { parameters: { @@ -2654,8 +2654,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * @@ -2665,11 +2665,11 @@ export interface webhooks { * @description A column was added to a classic project. */ post: operations["project-column/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-deleted": { parameters: { @@ -2678,8 +2678,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * @@ -2689,11 +2689,11 @@ export interface webhooks { * @description A column was deleted from a classic project. */ post: operations["project-column/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-edited": { parameters: { @@ -2702,8 +2702,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * @@ -2713,11 +2713,11 @@ export interface webhooks { * @description The name of a column on a classic project was changed. */ post: operations["project-column/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-moved": { parameters: { @@ -2726,8 +2726,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * @@ -2737,11 +2737,11 @@ export interface webhooks { * @description A column was moved to a new position on a classic project. */ post: operations["project-column/moved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-created": { parameters: { @@ -2750,8 +2750,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * @@ -2761,11 +2761,11 @@ export interface webhooks { * @description A classic project was created. */ post: operations["project/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-deleted": { parameters: { @@ -2774,8 +2774,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * @@ -2785,11 +2785,11 @@ export interface webhooks { * @description A classic project was deleted. */ post: operations["project/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-edited": { parameters: { @@ -2798,8 +2798,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * @@ -2809,11 +2809,11 @@ export interface webhooks { * @description The name or description of a classic project was changed. */ post: operations["project/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-reopened": { parameters: { @@ -2822,8 +2822,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.9/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.9/rest/projects)" in the REST API documentation. * @@ -2833,11 +2833,11 @@ export interface webhooks { * @description A classic project was closed. */ post: operations["project/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-closed": { parameters: { @@ -2846,8 +2846,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2). * @@ -2859,11 +2859,11 @@ export interface webhooks { * @description A project in the organization was closed. */ post: operations["projects-v2/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-created": { parameters: { @@ -2872,8 +2872,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2). * @@ -2885,11 +2885,11 @@ export interface webhooks { * @description A project in the organization was created. */ post: operations["projects-v2/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-deleted": { parameters: { @@ -2898,8 +2898,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2). * @@ -2911,11 +2911,11 @@ export interface webhooks { * @description A project in the organization was deleted. */ post: operations["projects-v2/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-edited": { parameters: { @@ -2924,8 +2924,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2). * @@ -2937,11 +2937,11 @@ export interface webhooks { * @description The title, description, or README of a project in the organization was changed. */ post: operations["projects-v2/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-archived": { parameters: { @@ -2950,8 +2950,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). * @@ -2963,11 +2963,11 @@ export interface webhooks { * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/archived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-converted": { parameters: { @@ -2976,8 +2976,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). * @@ -2989,11 +2989,11 @@ export interface webhooks { * @description A draft issue in an organization project was converted to an issue. */ post: operations["projects-v2-item/converted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-created": { parameters: { @@ -3002,8 +3002,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). * @@ -3015,11 +3015,11 @@ export interface webhooks { * @description An item was added to a project in the organization. */ post: operations["projects-v2-item/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-deleted": { parameters: { @@ -3028,8 +3028,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). * @@ -3041,11 +3041,11 @@ export interface webhooks { * @description An item was deleted from a project in the organization. */ post: operations["projects-v2-item/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-edited": { parameters: { @@ -3054,8 +3054,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). * @@ -3067,11 +3067,11 @@ export interface webhooks { * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. */ post: operations["projects-v2-item/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-reordered": { parameters: { @@ -3080,8 +3080,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). * @@ -3093,11 +3093,11 @@ export interface webhooks { * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. */ post: operations["projects-v2-item/reordered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-restored": { parameters: { @@ -3106,8 +3106,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2item). * @@ -3119,11 +3119,11 @@ export interface webhooks { * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/restored"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-reopened": { parameters: { @@ -3132,8 +3132,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.9/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#projectv2). * @@ -3145,11 +3145,11 @@ export interface webhooks { * @description A project in the organization was reopened. */ post: operations["projects-v2/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; public: { parameters: { @@ -3158,17 +3158,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.9/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. */ post: operations["public"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-assigned": { parameters: { @@ -3177,8 +3177,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3188,11 +3188,11 @@ export interface webhooks { * @description A pull request was assigned to a user. */ post: operations["pull-request/assigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-disabled": { parameters: { @@ -3201,8 +3201,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3212,11 +3212,11 @@ export interface webhooks { * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-enabled": { parameters: { @@ -3225,8 +3225,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3236,11 +3236,11 @@ export interface webhooks { * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-closed": { parameters: { @@ -3249,8 +3249,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3260,11 +3260,11 @@ export interface webhooks { * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. */ post: operations["pull-request/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-converted-to-draft": { parameters: { @@ -3273,8 +3273,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3284,11 +3284,11 @@ export interface webhooks { * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/converted-to-draft"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-demilestoned": { parameters: { @@ -3297,8 +3297,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3308,11 +3308,11 @@ export interface webhooks { * @description A pull request was removed from a milestone. */ post: operations["pull-request/demilestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-edited": { parameters: { @@ -3321,8 +3321,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3332,11 +3332,11 @@ export interface webhooks { * @description The title or body of a pull request was edited. */ post: operations["pull-request/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-labeled": { parameters: { @@ -3345,8 +3345,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3356,11 +3356,11 @@ export interface webhooks { * @description A label was added to a pull request. */ post: operations["pull-request/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-locked": { parameters: { @@ -3369,8 +3369,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3380,11 +3380,11 @@ export interface webhooks { * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.9/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-milestoned": { parameters: { @@ -3393,8 +3393,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3404,11 +3404,11 @@ export interface webhooks { * @description A pull request was added to a milestone. */ post: operations["pull-request/milestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-opened": { parameters: { @@ -3417,8 +3417,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3428,11 +3428,11 @@ export interface webhooks { * @description A pull request was created */ post: operations["pull-request/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-ready-for-review": { parameters: { @@ -3441,8 +3441,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3452,11 +3452,11 @@ export interface webhooks { * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/ready-for-review"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-reopened": { parameters: { @@ -3465,8 +3465,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3476,11 +3476,11 @@ export interface webhooks { * @description A previously closed pull request was reopened. */ post: operations["pull-request/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-created": { parameters: { @@ -3489,8 +3489,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments)" in the REST API documentation. * @@ -3500,11 +3500,11 @@ export interface webhooks { * @description A comment on a pull request diff was created. */ post: operations["pull-request-review-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-deleted": { parameters: { @@ -3513,8 +3513,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments)" in the REST API documentation. * @@ -3524,11 +3524,11 @@ export interface webhooks { * @description A comment on a pull request diff was deleted. */ post: operations["pull-request-review-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-edited": { parameters: { @@ -3537,8 +3537,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments)" in the REST API documentation. * @@ -3548,11 +3548,11 @@ export interface webhooks { * @description The content of a comment on a pull request diff was changed. */ post: operations["pull-request-review-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-dismissed": { parameters: { @@ -3561,8 +3561,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.9/rest/pulls/reviews)" in the REST API documentation. * @@ -3572,11 +3572,11 @@ export interface webhooks { * @description A review on a pull request was dismissed. */ post: operations["pull-request-review/dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-edited": { parameters: { @@ -3585,8 +3585,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.9/rest/pulls/reviews)" in the REST API documentation. * @@ -3596,11 +3596,11 @@ export interface webhooks { * @description The body comment on a pull request review was edited. */ post: operations["pull-request-review/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-request-removed": { parameters: { @@ -3609,8 +3609,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3620,11 +3620,11 @@ export interface webhooks { * @description A request for review by a person or team was removed from a pull request. */ post: operations["pull-request/review-request-removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-requested": { parameters: { @@ -3633,8 +3633,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3644,11 +3644,11 @@ export interface webhooks { * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." */ post: operations["pull-request/review-requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-submitted": { parameters: { @@ -3657,8 +3657,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.9/rest/pulls/reviews)" in the REST API documentation. * @@ -3668,11 +3668,11 @@ export interface webhooks { * @description A review on a pull request was submitted. */ post: operations["pull-request-review/submitted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-resolved": { parameters: { @@ -3681,8 +3681,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments)" in the REST API documentation. * @@ -3692,11 +3692,11 @@ export interface webhooks { * @description A comment thread on a pull request was marked as resolved. */ post: operations["pull-request-review-thread/resolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-unresolved": { parameters: { @@ -3705,8 +3705,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments)" in the REST API documentation. * @@ -3716,11 +3716,11 @@ export interface webhooks { * @description A previously resolved comment thread on a pull request was marked as unresolved. */ post: operations["pull-request-review-thread/unresolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-synchronize": { parameters: { @@ -3729,8 +3729,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3740,11 +3740,11 @@ export interface webhooks { * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. */ post: operations["pull-request/synchronize"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unassigned": { parameters: { @@ -3753,8 +3753,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3764,11 +3764,11 @@ export interface webhooks { * @description A user was unassigned from a pull request. */ post: operations["pull-request/unassigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlabeled": { parameters: { @@ -3777,8 +3777,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3788,11 +3788,11 @@ export interface webhooks { * @description A label was removed from a pull request. */ post: operations["pull-request/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlocked": { parameters: { @@ -3801,8 +3801,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)" in the REST API documentation. * @@ -3812,11 +3812,11 @@ export interface webhooks { * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.9/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; push: { parameters: { @@ -3825,8 +3825,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch * and tag deletions, use the [`delete`](#delete) webhook event. @@ -3835,11 +3835,11 @@ export interface webhooks { * * **Note**: An event will not be created when more than three tags are pushed at once. */ post: operations["push"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-published": { parameters: { @@ -3848,8 +3848,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.9/rest/packages)" in the REST API documentation. * @@ -3859,11 +3859,11 @@ export interface webhooks { * @description A package was published to a registry. */ post: operations["registry-package/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-updated": { parameters: { @@ -3872,8 +3872,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.9/rest/packages)" in the REST API documentation. * @@ -3883,11 +3883,11 @@ export interface webhooks { * @description A package that was previously published to a registry was updated. */ post: operations["registry-package/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-created": { parameters: { @@ -3896,8 +3896,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. * @@ -3905,11 +3905,11 @@ export interface webhooks { * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. */ post: operations["release/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-deleted": { parameters: { @@ -3918,8 +3918,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. * @@ -3927,11 +3927,11 @@ export interface webhooks { * @description A release, pre-release, or draft release was deleted. */ post: operations["release/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-edited": { parameters: { @@ -3940,8 +3940,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. * @@ -3949,11 +3949,11 @@ export interface webhooks { * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." */ post: operations["release/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-prereleased": { parameters: { @@ -3962,8 +3962,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. * @@ -3971,11 +3971,11 @@ export interface webhooks { * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. */ post: operations["release/prereleased"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-published": { parameters: { @@ -3984,8 +3984,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. * @@ -3993,11 +3993,11 @@ export interface webhooks { * @description A release, pre-release, or draft of a release was published. */ post: operations["release/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-released": { parameters: { @@ -4006,8 +4006,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. * @@ -4015,11 +4015,11 @@ export interface webhooks { * @description A release was published, or a pre-release was changed to a release. */ post: operations["release/released"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-unpublished": { parameters: { @@ -4028,8 +4028,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.9/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.9/rest/releases)" in the REST API documentation. * @@ -4037,11 +4037,11 @@ export interface webhooks { * @description A release or pre-release was unpublished. */ post: operations["release/unpublished"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-anonymous-access-disabled": { parameters: { @@ -4050,8 +4050,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * @@ -4059,11 +4059,11 @@ export interface webhooks { * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-anonymous-access-enabled": { parameters: { @@ -4072,8 +4072,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * @@ -4081,11 +4081,11 @@ export interface webhooks { * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-archived": { parameters: { @@ -4094,8 +4094,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * @@ -4103,11 +4103,11 @@ export interface webhooks { * @description A repository was archived. */ post: operations["repository/archived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-created": { parameters: { @@ -4116,8 +4116,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * @@ -4125,11 +4125,11 @@ export interface webhooks { * @description A repository was created. */ post: operations["repository/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-deleted": { parameters: { @@ -4138,8 +4138,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * @@ -4147,11 +4147,11 @@ export interface webhooks { * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. */ post: operations["repository/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-dispatch-sample.collected": { parameters: { @@ -4160,8 +4160,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.9/rest/repos/repos#create-a-repository-dispatch-event). * @@ -4169,11 +4169,11 @@ export interface webhooks { * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. */ post: operations["repository-dispatch/sample.collected"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-edited": { parameters: { @@ -4182,8 +4182,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * @@ -4191,11 +4191,11 @@ export interface webhooks { * @description The topics, default branch, description, or homepage of a repository was changed. */ post: operations["repository/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-privatized": { parameters: { @@ -4204,8 +4204,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * @@ -4213,11 +4213,11 @@ export interface webhooks { * @description The visibility of a repository was changed to `private`. */ post: operations["repository/privatized"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-publicized": { parameters: { @@ -4226,8 +4226,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * @@ -4235,11 +4235,11 @@ export interface webhooks { * @description The visibility of a repository was changed to `public`. */ post: operations["repository/publicized"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-renamed": { parameters: { @@ -4248,8 +4248,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * @@ -4257,11 +4257,11 @@ export interface webhooks { * @description The name of a repository was changed. */ post: operations["repository/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-transferred": { parameters: { @@ -4270,8 +4270,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * @@ -4279,11 +4279,11 @@ export interface webhooks { * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. */ post: operations["repository/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-unarchived": { parameters: { @@ -4292,8 +4292,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.9/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.9/rest/repos)" in the REST API documentation. * @@ -4301,11 +4301,11 @@ export interface webhooks { * @description A previously archived repository was unarchived. */ post: operations["repository/unarchived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-create": { parameters: { @@ -4314,8 +4314,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4323,11 +4323,11 @@ export interface webhooks { * @description A repository vulnerability alert was created. */ post: operations["repository-vulnerability-alert/create"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-dismiss": { parameters: { @@ -4336,8 +4336,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4345,11 +4345,11 @@ export interface webhooks { * @description A repository vulnerability alert was dismissed. */ post: operations["repository-vulnerability-alert/dismiss"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-reopen": { parameters: { @@ -4358,8 +4358,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4367,11 +4367,11 @@ export interface webhooks { * @description A previously dismissed or resolved repository vulnerability alert was reopened. */ post: operations["repository-vulnerability-alert/reopen"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-resolve": { parameters: { @@ -4380,8 +4380,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4389,11 +4389,11 @@ export interface webhooks { * @description A repository vulnerability alert was marked as resolved. */ post: operations["repository-vulnerability-alert/resolve"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-created": { parameters: { @@ -4402,8 +4402,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.9/rest/secret-scanning)" in the REST API documentation. * @@ -4413,11 +4413,11 @@ export interface webhooks { * @description A secret scanning alert was created. */ post: operations["secret-scanning-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-location-created": { parameters: { @@ -4426,8 +4426,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. * @@ -4439,11 +4439,11 @@ export interface webhooks { * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. */ post: operations["secret-scanning-alert-location/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-reopened": { parameters: { @@ -4452,8 +4452,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.9/rest/secret-scanning)" in the REST API documentation. * @@ -4463,11 +4463,11 @@ export interface webhooks { * @description A previously closed secret scanning alert was reopened. */ post: operations["secret-scanning-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-resolved": { parameters: { @@ -4476,8 +4476,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.9/rest/secret-scanning)" in the REST API documentation. * @@ -4487,11 +4487,11 @@ export interface webhooks { * @description A secret scanning alert was closed. */ post: operations["secret-scanning-alert/resolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-revoked": { parameters: { @@ -4500,8 +4500,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.9/rest/secret-scanning)" in the REST API documentation. * @@ -4511,11 +4511,11 @@ export interface webhooks { * @description A secret scanning alert was marked as revoked. */ post: operations["secret-scanning-alert/revoked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-published": { parameters: { @@ -4524,8 +4524,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.9/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#securityadvisory). * @@ -4533,11 +4533,11 @@ export interface webhooks { * @description A security advisory was published to the GitHub community. */ post: operations["security-advisory/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-updated": { parameters: { @@ -4546,8 +4546,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.9/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#securityadvisory). * @@ -4555,11 +4555,11 @@ export interface webhooks { * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. */ post: operations["security-advisory/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-withdrawn": { parameters: { @@ -4568,8 +4568,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-server@3.9/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#securityadvisory). * @@ -4577,11 +4577,11 @@ export interface webhooks { * @description A previously published security advisory was withdrawn. */ post: operations["security-advisory/withdrawn"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-and-analysis": { parameters: { @@ -4590,17 +4590,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.9/code-security/getting-started/github-security-features)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. */ post: operations["security-and-analysis"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-cancelled": { parameters: { @@ -4609,8 +4609,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). * @@ -4620,11 +4620,11 @@ export interface webhooks { * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/cancelled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-created": { parameters: { @@ -4633,8 +4633,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). * @@ -4642,11 +4642,11 @@ export interface webhooks { * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. */ post: operations["sponsorship/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-edited": { parameters: { @@ -4655,8 +4655,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). * @@ -4664,11 +4664,11 @@ export interface webhooks { * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. */ post: operations["sponsorship/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-cancellation": { parameters: { @@ -4677,8 +4677,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). * @@ -4688,11 +4688,11 @@ export interface webhooks { * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/pending-cancellation"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-tier-change": { parameters: { @@ -4701,8 +4701,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). * @@ -4710,11 +4710,11 @@ export interface webhooks { * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. */ post: operations["sponsorship/pending-tier-change"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-tier-changed": { parameters: { @@ -4723,8 +4723,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.9/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#sponsorship). * @@ -4732,11 +4732,11 @@ export interface webhooks { * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. */ post: operations["sponsorship/tier-changed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-created": { parameters: { @@ -4745,8 +4745,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.9/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.9/rest/activity/starring)" in the REST API documentation. * @@ -4754,11 +4754,11 @@ export interface webhooks { * @description Someone starred a repository. */ post: operations["star/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-deleted": { parameters: { @@ -4767,8 +4767,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.9/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.9/rest/activity/starring)" in the REST API documentation. * @@ -4776,11 +4776,11 @@ export interface webhooks { * @description Someone unstarred the repository. */ post: operations["star/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; status: { parameters: { @@ -4789,17 +4789,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.9/rest/commits/statuses)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. */ post: operations["status"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-add": { parameters: { @@ -4808,8 +4808,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a team is added to a repository. * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.9/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." * @@ -4817,11 +4817,11 @@ export interface webhooks { * * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. */ post: operations["team-add"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-added-to-repository": { parameters: { @@ -4830,8 +4830,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." @@ -4840,11 +4840,11 @@ export interface webhooks { * @description A team was granted access to a repository. */ post: operations["team/added-to-repository"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-created": { parameters: { @@ -4853,8 +4853,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." @@ -4863,11 +4863,11 @@ export interface webhooks { * @description A team was created. */ post: operations["team/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-deleted": { parameters: { @@ -4876,8 +4876,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." @@ -4886,11 +4886,11 @@ export interface webhooks { * @description A team was deleted. */ post: operations["team/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-edited": { parameters: { @@ -4899,8 +4899,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." @@ -4909,11 +4909,11 @@ export interface webhooks { * @description The name, description, or visibility of a team was changed. */ post: operations["team/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-removed-from-repository": { parameters: { @@ -4922,8 +4922,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/organizations/organizing-members-into-teams/about-teams)." @@ -4932,11 +4932,11 @@ export interface webhooks { * @description A team's access to a repository was removed. */ post: operations["team/removed-from-repository"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "user-created": { parameters: { @@ -4945,18 +4945,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was added to the enterprise. */ post: operations["user/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "user-deleted": { parameters: { @@ -4965,18 +4965,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was removed from the enterprise. */ post: operations["user/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "watch-started": { parameters: { @@ -4985,8 +4985,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-server@3.9/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-server@3.9/rest/activity/watching)" in the REST API documentation. * @@ -4994,11 +4994,11 @@ export interface webhooks { * @description Someone started watching the repository. */ post: operations["watch/started"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-dispatch": { parameters: { @@ -5007,19 +5007,19 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.9/actions/managing-workflow-runs/manually-running-a-workflow)." * * For activity relating to workflow runs, use the `workflow_run` event. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["workflow-dispatch"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-completed": { parameters: { @@ -5028,8 +5028,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.9/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -5039,11 +5039,11 @@ export interface webhooks { * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. */ post: operations["workflow-job/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-in-progress": { parameters: { @@ -5052,8 +5052,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.9/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -5063,11 +5063,11 @@ export interface webhooks { * @description A job in a workflow run started processing on a runner. */ post: operations["workflow-job/in-progress"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-queued": { parameters: { @@ -5076,8 +5076,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.9/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -5087,11 +5087,11 @@ export interface webhooks { * @description A job in a workflow run was created. */ post: operations["workflow-job/queued"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-waiting": { parameters: { @@ -5100,8 +5100,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.9/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -5111,11 +5111,11 @@ export interface webhooks { * @description A job in a workflow run was created and is waiting for approvals. */ post: operations["workflow-job/waiting"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-completed": { parameters: { @@ -5124,8 +5124,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.9/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-runs)" in the REST API documentation. * @@ -5135,11 +5135,11 @@ export interface webhooks { * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. */ post: operations["workflow-run/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-in-progress": { parameters: { @@ -5148,8 +5148,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.9/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-runs)" in the REST API documentation. * @@ -5159,11 +5159,11 @@ export interface webhooks { * @description A workflow run started processing on a runner. */ post: operations["workflow-run/in-progress"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-requested": { parameters: { @@ -5172,8 +5172,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.9/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.9/rest/actions/workflow-runs)" in the REST API documentation. * @@ -5183,11 +5183,11 @@ export interface webhooks { * @description A workflow run was triggered. */ post: operations["workflow-run/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; } export interface components { @@ -6067,7 +6067,7 @@ export interface components { metadata?: string; contents?: string; deployments?: string; - [key: string]: string; + [key: string]: string | undefined; }; /** @description The list of events for the GitHub app */ events: string[]; @@ -26537,11 +26537,11 @@ export interface components { }; platform?: string; metadata?: { - [key: string]: string; + [key: string]: string | undefined; }; repo?: string; dependencies?: { - [key: string]: string; + [key: string]: string | undefined; }[]; commit_oid?: string; }; diff --git a/packages/openapi-webhooks-types-github.ae/types.d.ts b/packages/openapi-webhooks-types-github.ae/types.d.ts index 209e50f..0157833 100644 --- a/packages/openapi-webhooks-types-github.ae/types.d.ts +++ b/packages/openapi-webhooks-types-github.ae/types.d.ts @@ -12,8 +12,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/github-ae@latest/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/github-ae@latest/rest/branches/branch-protection)" in the REST API documentation. * @@ -21,11 +21,11 @@ export interface webhooks { * @description A branch protection rule was created. */ post: operations["branch-protection-rule/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-deleted": { parameters: { @@ -34,8 +34,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/github-ae@latest/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/github-ae@latest/rest/branches/branch-protection)" in the REST API documentation. * @@ -43,11 +43,11 @@ export interface webhooks { * @description A branch protection rule was deleted. */ post: operations["branch-protection-rule/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-edited": { parameters: { @@ -56,8 +56,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/github-ae@latest/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/github-ae@latest/rest/branches/branch-protection)" in the REST API documentation. * @@ -65,11 +65,11 @@ export interface webhooks { * @description A branch protection rule was edited. */ post: operations["branch-protection-rule/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-completed": { parameters: { @@ -78,8 +78,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/github-ae@latest/rest/checks/runs)" in the REST API documentation. * @@ -93,11 +93,11 @@ export interface webhooks { * @description A check run was completed, and a conclusion is available. */ post: operations["check-run/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-created": { parameters: { @@ -106,8 +106,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/github-ae@latest/rest/checks/runs)" in the REST API documentation. * @@ -121,11 +121,11 @@ export interface webhooks { * @description A new check run was created. */ post: operations["check-run/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-requested-action": { parameters: { @@ -134,8 +134,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/github-ae@latest/rest/checks/runs)" in the REST API documentation. * @@ -149,11 +149,11 @@ export interface webhooks { * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/github-ae@latest/developers/apps/guides/creating-ci-tests-with-the-checks-api)." */ post: operations["check-run/requested-action"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-rerequested": { parameters: { @@ -162,8 +162,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/github-ae@latest/rest/checks/runs)" in the REST API documentation. * @@ -177,11 +177,11 @@ export interface webhooks { * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. */ post: operations["check-run/rerequested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-completed": { parameters: { @@ -190,8 +190,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/github-ae@latest/rest/checks/suites)" in the REST API documentation. * @@ -205,11 +205,11 @@ export interface webhooks { * @description All check runs in a check suite have completed, and a conclusion is available. */ post: operations["check-suite/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-requested": { parameters: { @@ -218,8 +218,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/github-ae@latest/rest/checks/suites)" in the REST API documentation. * @@ -233,11 +233,11 @@ export interface webhooks { * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/github-ae@latest/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/github-ae@latest/rest/checks/runs#create-a-check-run)" in the REST API documentation. */ post: operations["check-suite/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-rerequested": { parameters: { @@ -246,8 +246,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/github-ae@latest/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/github-ae@latest/rest/checks/suites)" in the REST API documentation. * @@ -261,11 +261,11 @@ export interface webhooks { * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/github-ae@latest/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/github-ae@latest/rest/checks/suites#create-a-check-suite)" in the REST API documentation. */ post: operations["check-suite/rerequested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-appeared-in-branch": { parameters: { @@ -274,8 +274,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. * @@ -283,11 +283,11 @@ export interface webhooks { * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. */ post: operations["code-scanning-alert/appeared-in-branch"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-closed-by-user": { parameters: { @@ -296,8 +296,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. * @@ -305,11 +305,11 @@ export interface webhooks { * @description Someone closed a code scanning alert. */ post: operations["code-scanning-alert/closed-by-user"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-created": { parameters: { @@ -318,8 +318,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. * @@ -327,11 +327,11 @@ export interface webhooks { * @description A code scanning alert was created in a repository. */ post: operations["code-scanning-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-fixed": { parameters: { @@ -340,8 +340,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. * @@ -349,11 +349,11 @@ export interface webhooks { * @description A code scanning alert was fixed in a branch by a commit. */ post: operations["code-scanning-alert/fixed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened": { parameters: { @@ -362,8 +362,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. * @@ -371,11 +371,11 @@ export interface webhooks { * @description A previously fixed code scanning alert reappeared in a branch. */ post: operations["code-scanning-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened-by-user": { parameters: { @@ -384,8 +384,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/github-ae@latest/rest/code-scanning)" in the REST API documentation. * @@ -393,11 +393,11 @@ export interface webhooks { * @description Someone reopened a code scanning alert. */ post: operations["code-scanning-alert/reopened-by-user"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "commit-comment-created": { parameters: { @@ -406,8 +406,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/github-ae@latest/rest/commits/comments)" in the REST API documentation. * @@ -417,11 +417,11 @@ export interface webhooks { * @description Someone commented on a commit. */ post: operations["commit-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; create: { parameters: { @@ -430,8 +430,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git branch or tag is created. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. @@ -440,11 +440,11 @@ export interface webhooks { * - This event will not occur when more than three tags are created at once. * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. */ post: operations["create"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; delete: { parameters: { @@ -453,8 +453,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including * branch and tag deletions, use the [`push`](#push) webhook event. * @@ -462,11 +462,11 @@ export interface webhooks { * * **Note**: This event will not occur when more than three tags are deleted at once. */ post: operations["delete"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-auto-dismissed": { parameters: { @@ -475,8 +475,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -488,11 +488,11 @@ export interface webhooks { * @description A Dependabot alert was automatically closed. */ post: operations["dependabot-alert/auto-dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-auto-reopened": { parameters: { @@ -501,8 +501,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -514,11 +514,11 @@ export interface webhooks { * @description A Dependabot alert was automatically reopened. */ post: operations["dependabot-alert/auto-reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-created": { parameters: { @@ -527,8 +527,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -540,11 +540,11 @@ export interface webhooks { * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-dismissed": { parameters: { @@ -553,8 +553,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -566,11 +566,11 @@ export interface webhooks { * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-fixed": { parameters: { @@ -579,8 +579,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -592,11 +592,11 @@ export interface webhooks { * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reintroduced": { parameters: { @@ -605,8 +605,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -618,11 +618,11 @@ export interface webhooks { * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reopened": { parameters: { @@ -631,8 +631,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -644,11 +644,11 @@ export interface webhooks { * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-created": { parameters: { @@ -657,8 +657,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/github-ae@latest/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/github-ae@latest/rest/deploy-keys)" in the REST API documentation. * @@ -666,11 +666,11 @@ export interface webhooks { * @description A deploy key was created. */ post: operations["deploy-key/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-deleted": { parameters: { @@ -679,8 +679,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/github-ae@latest/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/github-ae@latest/rest/deploy-keys)" in the REST API documentation. * @@ -688,11 +688,11 @@ export interface webhooks { * @description A deploy key was deleted. */ post: operations["deploy-key/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-created": { parameters: { @@ -701,8 +701,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)" in the REST API documentation. * @@ -712,11 +712,11 @@ export interface webhooks { * @description A deployment was created. */ post: operations["deployment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-protection-rule-requested": { parameters: { @@ -725,8 +725,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment protection rules. For more information, see "[Using environments for deployment](https://docs.github.com/github-ae@latest/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules)." For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/github-ae@latest/rest/deployments/environments). * @@ -734,11 +734,11 @@ export interface webhooks { * @description A deployment protection rule was requested for an environment. */ post: operations["deployment-protection-rule/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-approved": { parameters: { @@ -747,8 +747,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)" in the REST API documentation. * @@ -758,11 +758,11 @@ export interface webhooks { * @description A deployment review was approved. */ post: operations["deployment-review/approved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-rejected": { parameters: { @@ -771,8 +771,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)" in the REST API documentation. * @@ -782,11 +782,11 @@ export interface webhooks { * @description A deployment review was rejected. */ post: operations["deployment-review/rejected"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-requested": { parameters: { @@ -795,8 +795,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)" in the REST API documentation. * @@ -806,11 +806,11 @@ export interface webhooks { * @description A deployment review was requested. */ post: operations["deployment-review/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-status-created": { parameters: { @@ -819,8 +819,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/github-ae@latest/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/github-ae@latest/rest/deployments/deployments)" in the REST API documentation. * @@ -830,11 +830,11 @@ export interface webhooks { * @description A new deployment status was created. */ post: operations["deployment-status/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-answered": { parameters: { @@ -843,8 +843,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * @@ -856,11 +856,11 @@ export interface webhooks { * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-category-changed": { parameters: { @@ -869,8 +869,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * @@ -882,11 +882,11 @@ export interface webhooks { * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-created": { parameters: { @@ -895,8 +895,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * @@ -908,11 +908,11 @@ export interface webhooks { * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-deleted": { parameters: { @@ -921,8 +921,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * @@ -934,11 +934,11 @@ export interface webhooks { * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-edited": { parameters: { @@ -947,8 +947,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * @@ -960,11 +960,11 @@ export interface webhooks { * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-created": { parameters: { @@ -973,8 +973,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * @@ -986,11 +986,11 @@ export interface webhooks { * @description A discussion was created. */ post: operations["discussion/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-deleted": { parameters: { @@ -999,8 +999,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * @@ -1012,11 +1012,11 @@ export interface webhooks { * @description A discussion was deleted. */ post: operations["discussion/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-edited": { parameters: { @@ -1025,8 +1025,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * @@ -1038,11 +1038,11 @@ export interface webhooks { * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-labeled": { parameters: { @@ -1051,8 +1051,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * @@ -1064,11 +1064,11 @@ export interface webhooks { * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-locked": { parameters: { @@ -1077,8 +1077,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * @@ -1090,11 +1090,11 @@ export interface webhooks { * @description A discussion was locked. */ post: operations["discussion/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-pinned": { parameters: { @@ -1103,8 +1103,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * @@ -1116,11 +1116,11 @@ export interface webhooks { * @description A discussion was pinned. */ post: operations["discussion/pinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-transferred": { parameters: { @@ -1129,8 +1129,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * @@ -1142,11 +1142,11 @@ export interface webhooks { * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unanswered": { parameters: { @@ -1155,8 +1155,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * @@ -1168,11 +1168,11 @@ export interface webhooks { * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlabeled": { parameters: { @@ -1181,8 +1181,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * @@ -1194,11 +1194,11 @@ export interface webhooks { * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlocked": { parameters: { @@ -1207,8 +1207,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * @@ -1220,11 +1220,11 @@ export interface webhooks { * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unpinned": { parameters: { @@ -1233,8 +1233,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/github-ae@latest/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#discussion). * @@ -1246,11 +1246,11 @@ export interface webhooks { * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; fork: { parameters: { @@ -1259,17 +1259,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/github-ae@latest/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/github-ae@latest/rest/repos/forks)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["fork"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "github-app-authorization-revoked": { parameters: { @@ -1278,8 +1278,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. * @@ -1289,11 +1289,11 @@ export interface webhooks { * @description Someone revoked their authorization of a GitHub App. */ post: operations["github-app-authorization/revoked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; gollum: { parameters: { @@ -1302,17 +1302,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/github-ae@latest/communities/documenting-your-project-with-wikis/about-wikis)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["gollum"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-created": { parameters: { @@ -1321,8 +1321,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1330,11 +1330,11 @@ export interface webhooks { * @description Someone installed a GitHub App on a user or organization account. */ post: operations["installation/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-deleted": { parameters: { @@ -1343,8 +1343,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1352,11 +1352,11 @@ export interface webhooks { * @description Someone uninstalled a GitHub App from their user or organization account. */ post: operations["installation/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-new-permissions-accepted": { parameters: { @@ -1365,8 +1365,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1374,11 +1374,11 @@ export interface webhooks { * @description Someone granted new permissions to a GitHub App. */ post: operations["installation/new-permissions-accepted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-added": { parameters: { @@ -1387,8 +1387,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1396,11 +1396,11 @@ export interface webhooks { * @description A GitHub App installation was granted access to one or more repositories. */ post: operations["installation-repositories/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-removed": { parameters: { @@ -1409,8 +1409,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1418,11 +1418,11 @@ export interface webhooks { * @description Access to one or more repositories was revoked for a GitHub App installation. */ post: operations["installation-repositories/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-suspend": { parameters: { @@ -1431,8 +1431,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1440,11 +1440,11 @@ export interface webhooks { * @description Someone blocked access by a GitHub App to their user or organization account. */ post: operations["installation/suspend"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-target-renamed": { parameters: { @@ -1453,18 +1453,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/github-ae@latest/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#app) or "[Apps](https://docs.github.com/github-ae@latest/rest/apps)" in the REST API documentation. * @description Somebody renamed the user or organization account that a GitHub App is installed on. */ post: operations["installation-target/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-unsuspend": { parameters: { @@ -1473,8 +1473,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1482,11 +1482,11 @@ export interface webhooks { * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. */ post: operations["installation/unsuspend"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-created": { parameters: { @@ -1495,8 +1495,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/github-ae@latest/rest/issues/comments)" in the REST API documentation. * @@ -1506,11 +1506,11 @@ export interface webhooks { * @description A comment on an issue or pull request was created. */ post: operations["issue-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-deleted": { parameters: { @@ -1519,8 +1519,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/github-ae@latest/rest/issues/comments)" in the REST API documentation. * @@ -1530,11 +1530,11 @@ export interface webhooks { * @description A comment on an issue or pull request was deleted. */ post: operations["issue-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-edited": { parameters: { @@ -1543,8 +1543,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/github-ae@latest/rest/issues/comments)" in the REST API documentation. * @@ -1554,11 +1554,11 @@ export interface webhooks { * @description A comment on an issue or pull request was edited. */ post: operations["issue-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-assigned": { parameters: { @@ -1567,8 +1567,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * @@ -1578,11 +1578,11 @@ export interface webhooks { * @description An issue was assigned to a user. */ post: operations["issues/assigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-closed": { parameters: { @@ -1591,8 +1591,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * @@ -1602,11 +1602,11 @@ export interface webhooks { * @description An issue was closed. */ post: operations["issues/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-deleted": { parameters: { @@ -1615,8 +1615,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * @@ -1626,11 +1626,11 @@ export interface webhooks { * @description An issue was deleted. */ post: operations["issues/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-demilestoned": { parameters: { @@ -1639,8 +1639,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * @@ -1650,11 +1650,11 @@ export interface webhooks { * @description An issue was removed from a milestone. */ post: operations["issues/demilestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-edited": { parameters: { @@ -1663,8 +1663,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * @@ -1674,11 +1674,11 @@ export interface webhooks { * @description The title or body on an issue was edited. */ post: operations["issues/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-labeled": { parameters: { @@ -1687,8 +1687,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * @@ -1698,11 +1698,11 @@ export interface webhooks { * @description A label was added to an issue. */ post: operations["issues/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-locked": { parameters: { @@ -1711,8 +1711,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * @@ -1722,11 +1722,11 @@ export interface webhooks { * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/github-ae@latest/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-milestoned": { parameters: { @@ -1735,8 +1735,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * @@ -1746,11 +1746,11 @@ export interface webhooks { * @description An issue was added to a milestone. */ post: operations["issues/milestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-opened": { parameters: { @@ -1759,8 +1759,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * @@ -1770,11 +1770,11 @@ export interface webhooks { * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. */ post: operations["issues/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-pinned": { parameters: { @@ -1783,8 +1783,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * @@ -1794,11 +1794,11 @@ export interface webhooks { * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/pinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-reopened": { parameters: { @@ -1807,8 +1807,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * @@ -1818,11 +1818,11 @@ export interface webhooks { * @description A closed issue was reopened. */ post: operations["issues/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-transferred": { parameters: { @@ -1831,8 +1831,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * @@ -1842,11 +1842,11 @@ export interface webhooks { * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." */ post: operations["issues/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unassigned": { parameters: { @@ -1855,8 +1855,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * @@ -1866,11 +1866,11 @@ export interface webhooks { * @description A user was unassigned from an issue. */ post: operations["issues/unassigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlabeled": { parameters: { @@ -1879,8 +1879,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * @@ -1890,11 +1890,11 @@ export interface webhooks { * @description A label was removed from an issue. */ post: operations["issues/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlocked": { parameters: { @@ -1903,8 +1903,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * @@ -1914,11 +1914,11 @@ export interface webhooks { * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/github-ae@latest/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unpinned": { parameters: { @@ -1927,8 +1927,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/github-ae@latest/rest/issues)" in the REST API documentation. * @@ -1938,11 +1938,11 @@ export interface webhooks { * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/github-ae@latest/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/unpinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-created": { parameters: { @@ -1951,8 +1951,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#label) or "[Labels](https://docs.github.com/github-ae@latest/rest/issues/labels)" in the REST API documentation. * @@ -1962,11 +1962,11 @@ export interface webhooks { * @description A label was created. */ post: operations["label/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-deleted": { parameters: { @@ -1975,8 +1975,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#label) or "[Labels](https://docs.github.com/github-ae@latest/rest/issues/labels)" in the REST API documentation. * @@ -1986,11 +1986,11 @@ export interface webhooks { * @description A label was deleted. */ post: operations["label/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-edited": { parameters: { @@ -1999,8 +1999,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#label) or "[Labels](https://docs.github.com/github-ae@latest/rest/issues/labels)" in the REST API documentation. * @@ -2010,11 +2010,11 @@ export interface webhooks { * @description A label's name, description, or color was changed. */ post: operations["label/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-added": { parameters: { @@ -2023,8 +2023,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/github-ae@latest/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/github-ae@latest/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2032,11 +2032,11 @@ export interface webhooks { * @description A GitHub user accepted an invitation to a repository. */ post: operations["member/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-edited": { parameters: { @@ -2045,8 +2045,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/github-ae@latest/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/github-ae@latest/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2054,11 +2054,11 @@ export interface webhooks { * @description Permissions were changed for a collaborator on a repository. */ post: operations["member/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-removed": { parameters: { @@ -2067,8 +2067,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/github-ae@latest/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/github-ae@latest/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2076,11 +2076,11 @@ export interface webhooks { * @description A collaborator was removed from a repository. */ post: operations["member/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-added": { parameters: { @@ -2089,8 +2089,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#team) or "[Team members](https://docs.github.com/github-ae@latest/rest/teams/members)" in the REST API documentation. * @@ -2098,11 +2098,11 @@ export interface webhooks { * @description An organization member was added to a team. */ post: operations["membership/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-removed": { parameters: { @@ -2111,8 +2111,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#team) or "[Team members](https://docs.github.com/github-ae@latest/rest/teams/members)" in the REST API documentation. * @@ -2120,11 +2120,11 @@ export interface webhooks { * @description An organization member was removed from a team. */ post: operations["membership/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "meta-deleted": { parameters: { @@ -2133,8 +2133,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a webhook itself. * @@ -2142,11 +2142,11 @@ export interface webhooks { * @description The webhook was deleted. */ post: operations["meta/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-closed": { parameters: { @@ -2155,8 +2155,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/github-ae@latest/rest/issues/milestones)" in the REST API documentation. * @@ -2166,11 +2166,11 @@ export interface webhooks { * @description A milestone was closed. */ post: operations["milestone/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-created": { parameters: { @@ -2179,8 +2179,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/github-ae@latest/rest/issues/milestones)" in the REST API documentation. * @@ -2190,11 +2190,11 @@ export interface webhooks { * @description A milestone was created. */ post: operations["milestone/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-deleted": { parameters: { @@ -2203,8 +2203,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/github-ae@latest/rest/issues/milestones)" in the REST API documentation. * @@ -2214,11 +2214,11 @@ export interface webhooks { * @description A milestone was deleted. */ post: operations["milestone/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-edited": { parameters: { @@ -2227,8 +2227,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/github-ae@latest/rest/issues/milestones)" in the REST API documentation. * @@ -2238,11 +2238,11 @@ export interface webhooks { * @description A milestone was edited. */ post: operations["milestone/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-opened": { parameters: { @@ -2251,8 +2251,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/github-ae@latest/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/github-ae@latest/rest/issues/milestones)" in the REST API documentation. * @@ -2262,11 +2262,11 @@ export interface webhooks { * @description A milestone was opened. */ post: operations["milestone/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-deleted": { parameters: { @@ -2275,8 +2275,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/github-ae@latest/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/github-ae@latest/rest/orgs)" in the REST API documentation. * @@ -2286,11 +2286,11 @@ export interface webhooks { * @description An organization was deleted. */ post: operations["organization/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-added": { parameters: { @@ -2299,8 +2299,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/github-ae@latest/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/github-ae@latest/rest/orgs)" in the REST API documentation. * @@ -2310,11 +2310,11 @@ export interface webhooks { * @description A member accepted an invitation to join an organization. */ post: operations["organization/member-added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-invited": { parameters: { @@ -2323,8 +2323,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/github-ae@latest/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/github-ae@latest/rest/orgs)" in the REST API documentation. * @@ -2334,11 +2334,11 @@ export interface webhooks { * @description A member was invited to join the organization. */ post: operations["organization/member-invited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-removed": { parameters: { @@ -2347,8 +2347,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/github-ae@latest/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/github-ae@latest/rest/orgs)" in the REST API documentation. * @@ -2358,11 +2358,11 @@ export interface webhooks { * @description A member was removed from the organization. */ post: operations["organization/member-removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-renamed": { parameters: { @@ -2371,8 +2371,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/github-ae@latest/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/github-ae@latest/rest/orgs)" in the REST API documentation. * @@ -2382,11 +2382,11 @@ export interface webhooks { * @description The name of an organization was changed. */ post: operations["organization/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-published": { parameters: { @@ -2395,8 +2395,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/github-ae@latest/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#package) or "[Packages](https://docs.github.com/github-ae@latest/rest/packages)" in the REST API documentation. * @@ -2404,11 +2404,11 @@ export interface webhooks { * @description A package was published to a registry. */ post: operations["package/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-updated": { parameters: { @@ -2417,8 +2417,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/github-ae@latest/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#package) or "[Packages](https://docs.github.com/github-ae@latest/rest/packages)" in the REST API documentation. * @@ -2426,11 +2426,11 @@ export interface webhooks { * @description A previously published package was updated. */ post: operations["package/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "page-build": { parameters: { @@ -2439,17 +2439,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/github-ae@latest/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/github-ae@latest/rest/pages)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. */ post: operations["page-build"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; ping: { parameters: { @@ -2458,15 +2458,15 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ post: operations["ping"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-converted": { parameters: { @@ -2475,8 +2475,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * @@ -2486,11 +2486,11 @@ export interface webhooks { * @description A note in a classic project was converted to an issue. */ post: operations["project-card/converted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-created": { parameters: { @@ -2499,8 +2499,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * @@ -2510,11 +2510,11 @@ export interface webhooks { * @description A card was added to a classic project. */ post: operations["project-card/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-deleted": { parameters: { @@ -2523,8 +2523,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * @@ -2534,11 +2534,11 @@ export interface webhooks { * @description A card on a classic project was deleted. */ post: operations["project-card/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-edited": { parameters: { @@ -2547,8 +2547,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * @@ -2558,11 +2558,11 @@ export interface webhooks { * @description A note on a classic project was edited. */ post: operations["project-card/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-moved": { parameters: { @@ -2571,8 +2571,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * @@ -2582,11 +2582,11 @@ export interface webhooks { * @description A card on a classic project was moved to another column or to another position in its column. */ post: operations["project-card/moved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-closed": { parameters: { @@ -2595,8 +2595,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * @@ -2606,11 +2606,11 @@ export interface webhooks { * @description A classic project was closed. */ post: operations["project/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-created": { parameters: { @@ -2619,8 +2619,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * @@ -2630,11 +2630,11 @@ export interface webhooks { * @description A column was added to a classic project. */ post: operations["project-column/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-deleted": { parameters: { @@ -2643,8 +2643,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * @@ -2654,11 +2654,11 @@ export interface webhooks { * @description A column was deleted from a classic project. */ post: operations["project-column/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-edited": { parameters: { @@ -2667,8 +2667,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * @@ -2678,11 +2678,11 @@ export interface webhooks { * @description The name of a column on a classic project was changed. */ post: operations["project-column/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-moved": { parameters: { @@ -2691,8 +2691,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * @@ -2702,11 +2702,11 @@ export interface webhooks { * @description A column was moved to a new position on a classic project. */ post: operations["project-column/moved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-created": { parameters: { @@ -2715,8 +2715,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * @@ -2726,11 +2726,11 @@ export interface webhooks { * @description A classic project was created. */ post: operations["project/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-deleted": { parameters: { @@ -2739,8 +2739,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * @@ -2750,11 +2750,11 @@ export interface webhooks { * @description A classic project was deleted. */ post: operations["project/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-edited": { parameters: { @@ -2763,8 +2763,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * @@ -2774,11 +2774,11 @@ export interface webhooks { * @description The name or description of a classic project was changed. */ post: operations["project/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-reopened": { parameters: { @@ -2787,8 +2787,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/github-ae@latest/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/github-ae@latest/rest/projects)" in the REST API documentation. * @@ -2798,11 +2798,11 @@ export interface webhooks { * @description A classic project was closed. */ post: operations["project/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-closed": { parameters: { @@ -2811,8 +2811,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/github-ae@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#projectv2). * @@ -2824,11 +2824,11 @@ export interface webhooks { * @description A project in the organization was closed. */ post: operations["projects-v2/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-created": { parameters: { @@ -2837,8 +2837,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/github-ae@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#projectv2). * @@ -2850,11 +2850,11 @@ export interface webhooks { * @description A project in the organization was created. */ post: operations["projects-v2/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-deleted": { parameters: { @@ -2863,8 +2863,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/github-ae@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#projectv2). * @@ -2876,11 +2876,11 @@ export interface webhooks { * @description A project in the organization was deleted. */ post: operations["projects-v2/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-edited": { parameters: { @@ -2889,8 +2889,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/github-ae@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#projectv2). * @@ -2902,11 +2902,11 @@ export interface webhooks { * @description The title, description, or README of a project in the organization was changed. */ post: operations["projects-v2/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-reopened": { parameters: { @@ -2915,8 +2915,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/github-ae@latest/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#projectv2). * @@ -2928,11 +2928,11 @@ export interface webhooks { * @description A project in the organization was reopened. */ post: operations["projects-v2/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; public: { parameters: { @@ -2941,17 +2941,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/github-ae@latest/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. */ post: operations["public"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-assigned": { parameters: { @@ -2960,8 +2960,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -2971,11 +2971,11 @@ export interface webhooks { * @description A pull request was assigned to a user. */ post: operations["pull-request/assigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-disabled": { parameters: { @@ -2984,8 +2984,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -2995,11 +2995,11 @@ export interface webhooks { * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-enabled": { parameters: { @@ -3008,8 +3008,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3019,11 +3019,11 @@ export interface webhooks { * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-closed": { parameters: { @@ -3032,8 +3032,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3043,11 +3043,11 @@ export interface webhooks { * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. */ post: operations["pull-request/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-converted-to-draft": { parameters: { @@ -3056,8 +3056,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3067,11 +3067,11 @@ export interface webhooks { * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/converted-to-draft"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-demilestoned": { parameters: { @@ -3080,8 +3080,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3091,11 +3091,11 @@ export interface webhooks { * @description A pull request was removed from a milestone. */ post: operations["pull-request/demilestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-edited": { parameters: { @@ -3104,8 +3104,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3115,11 +3115,11 @@ export interface webhooks { * @description The title or body of a pull request was edited. */ post: operations["pull-request/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-labeled": { parameters: { @@ -3128,8 +3128,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3139,11 +3139,11 @@ export interface webhooks { * @description A label was added to a pull request. */ post: operations["pull-request/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-locked": { parameters: { @@ -3152,8 +3152,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3163,11 +3163,11 @@ export interface webhooks { * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/github-ae@latest/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-milestoned": { parameters: { @@ -3176,8 +3176,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3187,11 +3187,11 @@ export interface webhooks { * @description A pull request was added to a milestone. */ post: operations["pull-request/milestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-opened": { parameters: { @@ -3200,8 +3200,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3211,11 +3211,11 @@ export interface webhooks { * @description A pull request was created */ post: operations["pull-request/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-ready-for-review": { parameters: { @@ -3224,8 +3224,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3235,11 +3235,11 @@ export interface webhooks { * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/ready-for-review"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-reopened": { parameters: { @@ -3248,8 +3248,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3259,11 +3259,11 @@ export interface webhooks { * @description A previously closed pull request was reopened. */ post: operations["pull-request/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-created": { parameters: { @@ -3272,8 +3272,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/github-ae@latest/rest/pulls/comments)" in the REST API documentation. * @@ -3283,11 +3283,11 @@ export interface webhooks { * @description A comment on a pull request diff was created. */ post: operations["pull-request-review-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-deleted": { parameters: { @@ -3296,8 +3296,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/github-ae@latest/rest/pulls/comments)" in the REST API documentation. * @@ -3307,11 +3307,11 @@ export interface webhooks { * @description A comment on a pull request diff was deleted. */ post: operations["pull-request-review-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-edited": { parameters: { @@ -3320,8 +3320,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/github-ae@latest/rest/pulls/comments)" in the REST API documentation. * @@ -3331,11 +3331,11 @@ export interface webhooks { * @description The content of a comment on a pull request diff was changed. */ post: operations["pull-request-review-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-dismissed": { parameters: { @@ -3344,8 +3344,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/github-ae@latest/rest/pulls/reviews)" in the REST API documentation. * @@ -3355,11 +3355,11 @@ export interface webhooks { * @description A review on a pull request was dismissed. */ post: operations["pull-request-review/dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-edited": { parameters: { @@ -3368,8 +3368,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/github-ae@latest/rest/pulls/reviews)" in the REST API documentation. * @@ -3379,11 +3379,11 @@ export interface webhooks { * @description The body comment on a pull request review was edited. */ post: operations["pull-request-review/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-request-removed": { parameters: { @@ -3392,8 +3392,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3403,11 +3403,11 @@ export interface webhooks { * @description A request for review by a person or team was removed from a pull request. */ post: operations["pull-request/review-request-removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-requested": { parameters: { @@ -3416,8 +3416,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3427,11 +3427,11 @@ export interface webhooks { * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." */ post: operations["pull-request/review-requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-submitted": { parameters: { @@ -3440,8 +3440,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/github-ae@latest/rest/pulls/reviews)" in the REST API documentation. * @@ -3451,11 +3451,11 @@ export interface webhooks { * @description A review on a pull request was submitted. */ post: operations["pull-request-review/submitted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-resolved": { parameters: { @@ -3464,8 +3464,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/github-ae@latest/rest/pulls/comments)" in the REST API documentation. * @@ -3475,11 +3475,11 @@ export interface webhooks { * @description A comment thread on a pull request was marked as resolved. */ post: operations["pull-request-review-thread/resolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-unresolved": { parameters: { @@ -3488,8 +3488,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/github-ae@latest/rest/pulls/comments)" in the REST API documentation. * @@ -3499,11 +3499,11 @@ export interface webhooks { * @description A previously resolved comment thread on a pull request was marked as unresolved. */ post: operations["pull-request-review-thread/unresolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-synchronize": { parameters: { @@ -3512,8 +3512,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3523,11 +3523,11 @@ export interface webhooks { * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. */ post: operations["pull-request/synchronize"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unassigned": { parameters: { @@ -3536,8 +3536,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3547,11 +3547,11 @@ export interface webhooks { * @description A user was unassigned from a pull request. */ post: operations["pull-request/unassigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlabeled": { parameters: { @@ -3560,8 +3560,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3571,11 +3571,11 @@ export interface webhooks { * @description A label was removed from a pull request. */ post: operations["pull-request/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlocked": { parameters: { @@ -3584,8 +3584,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)" in the REST API documentation. * @@ -3595,11 +3595,11 @@ export interface webhooks { * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/github-ae@latest/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; push: { parameters: { @@ -3608,8 +3608,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch * and tag deletions, use the [`delete`](#delete) webhook event. @@ -3618,11 +3618,11 @@ export interface webhooks { * * **Note**: An event will not be created when more than three tags are pushed at once. */ post: operations["push"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-published": { parameters: { @@ -3631,8 +3631,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/github-ae@latest/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#package) or "[Packages](https://docs.github.com/github-ae@latest/rest/packages)" in the REST API documentation. * @@ -3642,11 +3642,11 @@ export interface webhooks { * @description A package was published to a registry. */ post: operations["registry-package/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-updated": { parameters: { @@ -3655,8 +3655,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/github-ae@latest/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#package) or "[Packages](https://docs.github.com/github-ae@latest/rest/packages)" in the REST API documentation. * @@ -3666,11 +3666,11 @@ export interface webhooks { * @description A package that was previously published to a registry was updated. */ post: operations["registry-package/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-created": { parameters: { @@ -3679,8 +3679,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. * @@ -3688,11 +3688,11 @@ export interface webhooks { * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. */ post: operations["release/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-deleted": { parameters: { @@ -3701,8 +3701,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. * @@ -3710,11 +3710,11 @@ export interface webhooks { * @description A release, pre-release, or draft release was deleted. */ post: operations["release/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-edited": { parameters: { @@ -3723,8 +3723,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. * @@ -3732,11 +3732,11 @@ export interface webhooks { * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." */ post: operations["release/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-prereleased": { parameters: { @@ -3745,8 +3745,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. * @@ -3754,11 +3754,11 @@ export interface webhooks { * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. */ post: operations["release/prereleased"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-published": { parameters: { @@ -3767,8 +3767,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. * @@ -3776,11 +3776,11 @@ export interface webhooks { * @description A release, pre-release, or draft of a release was published. */ post: operations["release/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-released": { parameters: { @@ -3789,8 +3789,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. * @@ -3798,11 +3798,11 @@ export interface webhooks { * @description A release was published, or a pre-release was changed to a release. */ post: operations["release/released"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-unpublished": { parameters: { @@ -3811,8 +3811,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/github-ae@latest/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#release) or "[Releases](https://docs.github.com/github-ae@latest/rest/releases)" in the REST API documentation. * @@ -3820,11 +3820,11 @@ export interface webhooks { * @description A release or pre-release was unpublished. */ post: operations["release/unpublished"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-anonymous-access-disabled": { parameters: { @@ -3833,8 +3833,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * @@ -3842,11 +3842,11 @@ export interface webhooks { * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-anonymous-access-enabled": { parameters: { @@ -3855,8 +3855,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * @@ -3864,11 +3864,11 @@ export interface webhooks { * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-archived": { parameters: { @@ -3877,8 +3877,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * @@ -3886,11 +3886,11 @@ export interface webhooks { * @description A repository was archived. */ post: operations["repository/archived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-created": { parameters: { @@ -3899,8 +3899,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * @@ -3908,11 +3908,11 @@ export interface webhooks { * @description A repository was created. */ post: operations["repository/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-deleted": { parameters: { @@ -3921,8 +3921,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * @@ -3930,11 +3930,11 @@ export interface webhooks { * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. */ post: operations["repository/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-dispatch-sample.collected": { parameters: { @@ -3943,8 +3943,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/github-ae@latest/rest/repos/repos#create-a-repository-dispatch-event). * @@ -3952,11 +3952,11 @@ export interface webhooks { * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. */ post: operations["repository-dispatch/sample.collected"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-edited": { parameters: { @@ -3965,8 +3965,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * @@ -3974,11 +3974,11 @@ export interface webhooks { * @description The topics, default branch, description, or homepage of a repository was changed. */ post: operations["repository/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-privatized": { parameters: { @@ -3987,8 +3987,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * @@ -3996,11 +3996,11 @@ export interface webhooks { * @description The visibility of a repository was changed to `private`. */ post: operations["repository/privatized"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-publicized": { parameters: { @@ -4009,8 +4009,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * @@ -4018,11 +4018,11 @@ export interface webhooks { * @description The visibility of a repository was changed to `public`. */ post: operations["repository/publicized"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-renamed": { parameters: { @@ -4031,8 +4031,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * @@ -4040,11 +4040,11 @@ export interface webhooks { * @description The name of a repository was changed. */ post: operations["repository/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-transferred": { parameters: { @@ -4053,8 +4053,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * @@ -4062,11 +4062,11 @@ export interface webhooks { * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. */ post: operations["repository/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-unarchived": { parameters: { @@ -4075,8 +4075,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/github-ae@latest/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/github-ae@latest/rest/repos)" in the REST API documentation. * @@ -4084,11 +4084,11 @@ export interface webhooks { * @description A previously archived repository was unarchived. */ post: operations["repository/unarchived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-created": { parameters: { @@ -4097,8 +4097,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/github-ae@latest/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/github-ae@latest/rest/secret-scanning)" in the REST API documentation. * @@ -4108,11 +4108,11 @@ export interface webhooks { * @description A secret scanning alert was created. */ post: operations["secret-scanning-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-location-created": { parameters: { @@ -4121,8 +4121,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. * @@ -4134,11 +4134,11 @@ export interface webhooks { * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. */ post: operations["secret-scanning-alert-location/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-reopened": { parameters: { @@ -4147,8 +4147,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/github-ae@latest/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/github-ae@latest/rest/secret-scanning)" in the REST API documentation. * @@ -4158,11 +4158,11 @@ export interface webhooks { * @description A previously closed secret scanning alert was reopened. */ post: operations["secret-scanning-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-resolved": { parameters: { @@ -4171,8 +4171,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/github-ae@latest/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/github-ae@latest/rest/secret-scanning)" in the REST API documentation. * @@ -4182,11 +4182,11 @@ export interface webhooks { * @description A secret scanning alert was closed. */ post: operations["secret-scanning-alert/resolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-revoked": { parameters: { @@ -4195,8 +4195,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/github-ae@latest/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/github-ae@latest/rest/secret-scanning)" in the REST API documentation. * @@ -4206,11 +4206,11 @@ export interface webhooks { * @description A secret scanning alert was marked as revoked. */ post: operations["secret-scanning-alert/revoked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-and-analysis": { parameters: { @@ -4219,17 +4219,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/github-ae@latest/code-security/getting-started/github-security-features)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. */ post: operations["security-and-analysis"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-cancelled": { parameters: { @@ -4238,8 +4238,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). * @@ -4249,11 +4249,11 @@ export interface webhooks { * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/cancelled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-created": { parameters: { @@ -4262,8 +4262,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). * @@ -4271,11 +4271,11 @@ export interface webhooks { * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. */ post: operations["sponsorship/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-edited": { parameters: { @@ -4284,8 +4284,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). * @@ -4293,11 +4293,11 @@ export interface webhooks { * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. */ post: operations["sponsorship/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-cancellation": { parameters: { @@ -4306,8 +4306,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). * @@ -4317,11 +4317,11 @@ export interface webhooks { * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/pending-cancellation"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-tier-change": { parameters: { @@ -4330,8 +4330,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). * @@ -4339,11 +4339,11 @@ export interface webhooks { * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. */ post: operations["sponsorship/pending-tier-change"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-tier-changed": { parameters: { @@ -4352,8 +4352,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/github-ae@latest/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#sponsorship). * @@ -4361,11 +4361,11 @@ export interface webhooks { * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. */ post: operations["sponsorship/tier-changed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-created": { parameters: { @@ -4374,8 +4374,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/github-ae@latest/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/github-ae@latest/rest/activity/starring)" in the REST API documentation. * @@ -4383,11 +4383,11 @@ export interface webhooks { * @description Someone starred a repository. */ post: operations["star/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-deleted": { parameters: { @@ -4396,8 +4396,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/github-ae@latest/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/github-ae@latest/rest/activity/starring)" in the REST API documentation. * @@ -4405,11 +4405,11 @@ export interface webhooks { * @description Someone unstarred the repository. */ post: operations["star/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; status: { parameters: { @@ -4418,17 +4418,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/github-ae@latest/rest/commits/statuses)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. */ post: operations["status"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-add": { parameters: { @@ -4437,8 +4437,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a team is added to a repository. * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/github-ae@latest/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." * @@ -4446,11 +4446,11 @@ export interface webhooks { * * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. */ post: operations["team-add"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-added-to-repository": { parameters: { @@ -4459,8 +4459,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." @@ -4469,11 +4469,11 @@ export interface webhooks { * @description A team was granted access to a repository. */ post: operations["team/added-to-repository"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-created": { parameters: { @@ -4482,8 +4482,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." @@ -4492,11 +4492,11 @@ export interface webhooks { * @description A team was created. */ post: operations["team/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-deleted": { parameters: { @@ -4505,8 +4505,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." @@ -4515,11 +4515,11 @@ export interface webhooks { * @description A team was deleted. */ post: operations["team/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-edited": { parameters: { @@ -4528,8 +4528,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." @@ -4538,11 +4538,11 @@ export interface webhooks { * @description The name, description, or visibility of a team was changed. */ post: operations["team/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-removed-from-repository": { parameters: { @@ -4551,8 +4551,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/github-ae@latest/organizations/organizing-members-into-teams/about-teams)." @@ -4561,11 +4561,11 @@ export interface webhooks { * @description A team's access to a repository was removed. */ post: operations["team/removed-from-repository"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "user-created": { parameters: { @@ -4574,18 +4574,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was added to the enterprise. */ post: operations["user/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "user-deleted": { parameters: { @@ -4594,18 +4594,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was removed from the enterprise. */ post: operations["user/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "watch-started": { parameters: { @@ -4614,8 +4614,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/github-ae@latest/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/github-ae@latest/rest/activity/watching)" in the REST API documentation. * @@ -4623,11 +4623,11 @@ export interface webhooks { * @description Someone started watching the repository. */ post: operations["watch/started"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-dispatch": { parameters: { @@ -4636,19 +4636,19 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/github-ae@latest/actions/managing-workflow-runs/manually-running-a-workflow)." * * For activity relating to workflow runs, use the `workflow_run` event. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["workflow-dispatch"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-completed": { parameters: { @@ -4657,8 +4657,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/github-ae@latest/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/github-ae@latest/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -4668,11 +4668,11 @@ export interface webhooks { * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. */ post: operations["workflow-job/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-in-progress": { parameters: { @@ -4681,8 +4681,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/github-ae@latest/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/github-ae@latest/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -4692,11 +4692,11 @@ export interface webhooks { * @description A job in a workflow run started processing on a runner. */ post: operations["workflow-job/in-progress"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-queued": { parameters: { @@ -4705,8 +4705,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/github-ae@latest/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/github-ae@latest/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -4716,11 +4716,11 @@ export interface webhooks { * @description A job in a workflow run was created. */ post: operations["workflow-job/queued"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-completed": { parameters: { @@ -4729,8 +4729,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/github-ae@latest/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/github-ae@latest/rest/actions/workflow-runs)" in the REST API documentation. * @@ -4740,11 +4740,11 @@ export interface webhooks { * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. */ post: operations["workflow-run/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-in-progress": { parameters: { @@ -4753,8 +4753,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/github-ae@latest/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/github-ae@latest/rest/actions/workflow-runs)" in the REST API documentation. * @@ -4764,11 +4764,11 @@ export interface webhooks { * @description A workflow run started processing on a runner. */ post: operations["workflow-run/in-progress"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-requested": { parameters: { @@ -4777,8 +4777,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/github-ae@latest/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/github-ae@latest/rest/actions/workflow-runs)" in the REST API documentation. * @@ -4788,11 +4788,11 @@ export interface webhooks { * @description A workflow run was triggered. */ post: operations["workflow-run/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; } export interface components { @@ -5587,7 +5587,7 @@ export interface components { metadata?: string; contents?: string; deployments?: string; - [key: string]: string; + [key: string]: string | undefined; }; /** @description The list of events for the GitHub app */ events: string[]; @@ -26680,11 +26680,11 @@ export interface components { }; platform?: string; metadata?: { - [key: string]: string; + [key: string]: string | undefined; }; repo?: string; dependencies?: { - [key: string]: string; + [key: string]: string | undefined; }[]; commit_oid?: string; }; diff --git a/packages/openapi-webhooks-types/types.d.ts b/packages/openapi-webhooks-types/types.d.ts index f1ee3ae..26d5b49 100644 --- a/packages/openapi-webhooks-types/types.d.ts +++ b/packages/openapi-webhooks-types/types.d.ts @@ -12,8 +12,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is a change to branch protection configurations for a repository. * For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." @@ -23,11 +23,11 @@ export interface webhooks { * @description All branch protections were disabled for a repository. */ post: operations["branch-protection-configuration/disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-configuration-enabled": { parameters: { @@ -36,8 +36,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is a change to branch protection configurations for a repository. * For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." @@ -47,11 +47,11 @@ export interface webhooks { * @description All branch protections were enabled for a repository. */ post: operations["branch-protection-configuration/enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-created": { parameters: { @@ -60,8 +60,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/rest/branches/branch-protection)" in the REST API documentation. * @@ -69,11 +69,11 @@ export interface webhooks { * @description A branch protection rule was created. */ post: operations["branch-protection-rule/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-deleted": { parameters: { @@ -82,8 +82,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/rest/branches/branch-protection)" in the REST API documentation. * @@ -91,11 +91,11 @@ export interface webhooks { * @description A branch protection rule was deleted. */ post: operations["branch-protection-rule/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-edited": { parameters: { @@ -104,8 +104,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/rest/branches/branch-protection)" in the REST API documentation. * @@ -113,11 +113,11 @@ export interface webhooks { * @description A branch protection rule was edited. */ post: operations["branch-protection-rule/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-completed": { parameters: { @@ -126,8 +126,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/rest/checks/runs)" in the REST API documentation. * @@ -141,11 +141,11 @@ export interface webhooks { * @description A check run was completed, and a conclusion is available. */ post: operations["check-run/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-created": { parameters: { @@ -154,8 +154,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/rest/checks/runs)" in the REST API documentation. * @@ -169,11 +169,11 @@ export interface webhooks { * @description A new check run was created. */ post: operations["check-run/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-requested-action": { parameters: { @@ -182,8 +182,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/rest/checks/runs)" in the REST API documentation. * @@ -197,11 +197,11 @@ export interface webhooks { * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/developers/apps/guides/creating-ci-tests-with-the-checks-api)." */ post: operations["check-run/requested-action"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-rerequested": { parameters: { @@ -210,8 +210,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/rest/checks/runs)" in the REST API documentation. * @@ -225,11 +225,11 @@ export interface webhooks { * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. */ post: operations["check-run/rerequested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-completed": { parameters: { @@ -238,8 +238,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/rest/checks/suites)" in the REST API documentation. * @@ -253,11 +253,11 @@ export interface webhooks { * @description All check runs in a check suite have completed, and a conclusion is available. */ post: operations["check-suite/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-requested": { parameters: { @@ -266,8 +266,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/rest/checks/suites)" in the REST API documentation. * @@ -281,11 +281,11 @@ export interface webhooks { * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/rest/checks/runs#create-a-check-run)" in the REST API documentation. */ post: operations["check-suite/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-rerequested": { parameters: { @@ -294,8 +294,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/rest/checks/suites)" in the REST API documentation. * @@ -309,11 +309,11 @@ export interface webhooks { * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/rest/checks/suites#create-a-check-suite)" in the REST API documentation. */ post: operations["check-suite/rerequested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-appeared-in-branch": { parameters: { @@ -322,8 +322,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. * @@ -331,11 +331,11 @@ export interface webhooks { * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. */ post: operations["code-scanning-alert/appeared-in-branch"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-closed-by-user": { parameters: { @@ -344,8 +344,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. * @@ -353,11 +353,11 @@ export interface webhooks { * @description Someone closed a code scanning alert. */ post: operations["code-scanning-alert/closed-by-user"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-created": { parameters: { @@ -366,8 +366,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. * @@ -375,11 +375,11 @@ export interface webhooks { * @description A code scanning alert was created in a repository. */ post: operations["code-scanning-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-fixed": { parameters: { @@ -388,8 +388,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. * @@ -397,11 +397,11 @@ export interface webhooks { * @description A code scanning alert was fixed in a branch by a commit. */ post: operations["code-scanning-alert/fixed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened": { parameters: { @@ -410,8 +410,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. * @@ -419,11 +419,11 @@ export interface webhooks { * @description A previously fixed code scanning alert reappeared in a branch. */ post: operations["code-scanning-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened-by-user": { parameters: { @@ -432,8 +432,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/rest/code-scanning)" in the REST API documentation. * @@ -441,11 +441,11 @@ export interface webhooks { * @description Someone reopened a code scanning alert. */ post: operations["code-scanning-alert/reopened-by-user"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "commit-comment-created": { parameters: { @@ -454,8 +454,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/rest/commits/comments)" in the REST API documentation. * @@ -465,11 +465,11 @@ export interface webhooks { * @description Someone commented on a commit. */ post: operations["commit-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; create: { parameters: { @@ -478,8 +478,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git branch or tag is created. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. @@ -488,11 +488,11 @@ export interface webhooks { * - This event will not occur when more than three tags are created at once. * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. */ post: operations["create"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; delete: { parameters: { @@ -501,8 +501,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including * branch and tag deletions, use the [`push`](#push) webhook event. * @@ -510,11 +510,11 @@ export interface webhooks { * * **Note**: This event will not occur when more than three tags are deleted at once. */ post: operations["delete"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-auto-dismissed": { parameters: { @@ -523,8 +523,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -536,11 +536,11 @@ export interface webhooks { * @description A Dependabot alert was automatically closed. */ post: operations["dependabot-alert/auto-dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-auto-reopened": { parameters: { @@ -549,8 +549,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -562,11 +562,11 @@ export interface webhooks { * @description A Dependabot alert was automatically reopened. */ post: operations["dependabot-alert/auto-reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-created": { parameters: { @@ -575,8 +575,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -588,11 +588,11 @@ export interface webhooks { * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-dismissed": { parameters: { @@ -601,8 +601,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -614,11 +614,11 @@ export interface webhooks { * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-fixed": { parameters: { @@ -627,8 +627,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -640,11 +640,11 @@ export interface webhooks { * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reintroduced": { parameters: { @@ -653,8 +653,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -666,11 +666,11 @@ export interface webhooks { * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reopened": { parameters: { @@ -679,8 +679,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * @@ -692,11 +692,11 @@ export interface webhooks { * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-created": { parameters: { @@ -705,8 +705,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/rest/deploy-keys)" in the REST API documentation. * @@ -714,11 +714,11 @@ export interface webhooks { * @description A deploy key was created. */ post: operations["deploy-key/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-deleted": { parameters: { @@ -727,8 +727,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/rest/deploy-keys)" in the REST API documentation. * @@ -736,11 +736,11 @@ export interface webhooks { * @description A deploy key was deleted. */ post: operations["deploy-key/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-created": { parameters: { @@ -749,8 +749,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/rest/deployments/deployments)" in the REST API documentation. * @@ -760,11 +760,11 @@ export interface webhooks { * @description A deployment was created. */ post: operations["deployment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-protection-rule-requested": { parameters: { @@ -773,8 +773,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment protection rules. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules)." For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/rest/deployments/environments). * @@ -782,11 +782,11 @@ export interface webhooks { * @description A deployment protection rule was requested for an environment. */ post: operations["deployment-protection-rule/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-approved": { parameters: { @@ -795,8 +795,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/rest/deployments/deployments)" in the REST API documentation. * @@ -806,11 +806,11 @@ export interface webhooks { * @description A deployment review was approved. */ post: operations["deployment-review/approved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-rejected": { parameters: { @@ -819,8 +819,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/rest/deployments/deployments)" in the REST API documentation. * @@ -830,11 +830,11 @@ export interface webhooks { * @description A deployment review was rejected. */ post: operations["deployment-review/rejected"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-requested": { parameters: { @@ -843,8 +843,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/rest/deployments/deployments)" in the REST API documentation. * @@ -854,11 +854,11 @@ export interface webhooks { * @description A deployment review was requested. */ post: operations["deployment-review/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-status-created": { parameters: { @@ -867,8 +867,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/rest/deployments/deployments)" in the REST API documentation. * @@ -878,11 +878,11 @@ export interface webhooks { * @description A new deployment status was created. */ post: operations["deployment-status/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-answered": { parameters: { @@ -891,8 +891,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -904,11 +904,11 @@ export interface webhooks { * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-category-changed": { parameters: { @@ -917,8 +917,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -930,11 +930,11 @@ export interface webhooks { * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-closed": { parameters: { @@ -943,8 +943,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -956,11 +956,11 @@ export interface webhooks { * @description A discussion was closed. */ post: operations["discussion/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-created": { parameters: { @@ -969,8 +969,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -982,11 +982,11 @@ export interface webhooks { * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-deleted": { parameters: { @@ -995,8 +995,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -1008,11 +1008,11 @@ export interface webhooks { * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-edited": { parameters: { @@ -1021,8 +1021,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -1034,11 +1034,11 @@ export interface webhooks { * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-created": { parameters: { @@ -1047,8 +1047,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -1060,11 +1060,11 @@ export interface webhooks { * @description A discussion was created. */ post: operations["discussion/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-deleted": { parameters: { @@ -1073,8 +1073,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -1086,11 +1086,11 @@ export interface webhooks { * @description A discussion was deleted. */ post: operations["discussion/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-edited": { parameters: { @@ -1099,8 +1099,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -1112,11 +1112,11 @@ export interface webhooks { * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-labeled": { parameters: { @@ -1125,8 +1125,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -1138,11 +1138,11 @@ export interface webhooks { * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-locked": { parameters: { @@ -1151,8 +1151,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -1164,11 +1164,11 @@ export interface webhooks { * @description A discussion was locked. */ post: operations["discussion/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-pinned": { parameters: { @@ -1177,8 +1177,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -1190,11 +1190,11 @@ export interface webhooks { * @description A discussion was pinned. */ post: operations["discussion/pinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-reopened": { parameters: { @@ -1203,8 +1203,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -1216,11 +1216,11 @@ export interface webhooks { * @description A discussion was reopened. */ post: operations["discussion/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-transferred": { parameters: { @@ -1229,8 +1229,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -1242,11 +1242,11 @@ export interface webhooks { * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unanswered": { parameters: { @@ -1255,8 +1255,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -1268,11 +1268,11 @@ export interface webhooks { * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlabeled": { parameters: { @@ -1281,8 +1281,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -1294,11 +1294,11 @@ export interface webhooks { * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlocked": { parameters: { @@ -1307,8 +1307,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -1320,11 +1320,11 @@ export interface webhooks { * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unpinned": { parameters: { @@ -1333,8 +1333,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion). * @@ -1346,11 +1346,11 @@ export interface webhooks { * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; fork: { parameters: { @@ -1359,17 +1359,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/rest/repos/forks)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["fork"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "github-app-authorization-revoked": { parameters: { @@ -1378,8 +1378,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. * @@ -1389,11 +1389,11 @@ export interface webhooks { * @description Someone revoked their authorization of a GitHub App. */ post: operations["github-app-authorization/revoked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; gollum: { parameters: { @@ -1402,17 +1402,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/communities/documenting-your-project-with-wikis/about-wikis)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["gollum"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-created": { parameters: { @@ -1421,8 +1421,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1430,11 +1430,11 @@ export interface webhooks { * @description Someone installed a GitHub App on a user or organization account. */ post: operations["installation/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-deleted": { parameters: { @@ -1443,8 +1443,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1452,11 +1452,11 @@ export interface webhooks { * @description Someone uninstalled a GitHub App from their user or organization account. */ post: operations["installation/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-new-permissions-accepted": { parameters: { @@ -1465,8 +1465,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1474,11 +1474,11 @@ export interface webhooks { * @description Someone granted new permissions to a GitHub App. */ post: operations["installation/new-permissions-accepted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-added": { parameters: { @@ -1487,8 +1487,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1496,11 +1496,11 @@ export interface webhooks { * @description A GitHub App installation was granted access to one or more repositories. */ post: operations["installation-repositories/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-removed": { parameters: { @@ -1509,8 +1509,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1518,11 +1518,11 @@ export interface webhooks { * @description Access to one or more repositories was revoked for a GitHub App installation. */ post: operations["installation-repositories/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-suspend": { parameters: { @@ -1531,8 +1531,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1540,11 +1540,11 @@ export interface webhooks { * @description Someone blocked access by a GitHub App to their user or organization account. */ post: operations["installation/suspend"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-target-renamed": { parameters: { @@ -1553,18 +1553,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or "[Apps](https://docs.github.com/rest/apps)" in the REST API documentation. * @description Somebody renamed the user or organization account that a GitHub App is installed on. */ post: operations["installation-target/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-unsuspend": { parameters: { @@ -1573,8 +1573,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * @@ -1582,11 +1582,11 @@ export interface webhooks { * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. */ post: operations["installation/unsuspend"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-created": { parameters: { @@ -1595,8 +1595,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/rest/issues/comments)" in the REST API documentation. * @@ -1606,11 +1606,11 @@ export interface webhooks { * @description A comment on an issue or pull request was created. */ post: operations["issue-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-deleted": { parameters: { @@ -1619,8 +1619,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/rest/issues/comments)" in the REST API documentation. * @@ -1630,11 +1630,11 @@ export interface webhooks { * @description A comment on an issue or pull request was deleted. */ post: operations["issue-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-edited": { parameters: { @@ -1643,8 +1643,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/rest/issues/comments)" in the REST API documentation. * @@ -1654,11 +1654,11 @@ export interface webhooks { * @description A comment on an issue or pull request was edited. */ post: operations["issue-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-assigned": { parameters: { @@ -1667,8 +1667,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * @@ -1678,11 +1678,11 @@ export interface webhooks { * @description An issue was assigned to a user. */ post: operations["issues/assigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-closed": { parameters: { @@ -1691,8 +1691,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * @@ -1702,11 +1702,11 @@ export interface webhooks { * @description An issue was closed. */ post: operations["issues/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-deleted": { parameters: { @@ -1715,8 +1715,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * @@ -1726,11 +1726,11 @@ export interface webhooks { * @description An issue was deleted. */ post: operations["issues/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-demilestoned": { parameters: { @@ -1739,8 +1739,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * @@ -1750,11 +1750,11 @@ export interface webhooks { * @description An issue was removed from a milestone. */ post: operations["issues/demilestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-edited": { parameters: { @@ -1763,8 +1763,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * @@ -1774,11 +1774,11 @@ export interface webhooks { * @description The title or body on an issue was edited. */ post: operations["issues/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-labeled": { parameters: { @@ -1787,8 +1787,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * @@ -1798,11 +1798,11 @@ export interface webhooks { * @description A label was added to an issue. */ post: operations["issues/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-locked": { parameters: { @@ -1811,8 +1811,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * @@ -1822,11 +1822,11 @@ export interface webhooks { * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-milestoned": { parameters: { @@ -1835,8 +1835,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * @@ -1846,11 +1846,11 @@ export interface webhooks { * @description An issue was added to a milestone. */ post: operations["issues/milestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-opened": { parameters: { @@ -1859,8 +1859,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * @@ -1870,11 +1870,11 @@ export interface webhooks { * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. */ post: operations["issues/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-pinned": { parameters: { @@ -1883,8 +1883,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * @@ -1894,11 +1894,11 @@ export interface webhooks { * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/pinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-reopened": { parameters: { @@ -1907,8 +1907,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * @@ -1918,11 +1918,11 @@ export interface webhooks { * @description A closed issue was reopened. */ post: operations["issues/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-transferred": { parameters: { @@ -1931,8 +1931,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * @@ -1942,11 +1942,11 @@ export interface webhooks { * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." */ post: operations["issues/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unassigned": { parameters: { @@ -1955,8 +1955,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * @@ -1966,11 +1966,11 @@ export interface webhooks { * @description A user was unassigned from an issue. */ post: operations["issues/unassigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlabeled": { parameters: { @@ -1979,8 +1979,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * @@ -1990,11 +1990,11 @@ export interface webhooks { * @description A label was removed from an issue. */ post: operations["issues/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlocked": { parameters: { @@ -2003,8 +2003,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * @@ -2014,11 +2014,11 @@ export interface webhooks { * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unpinned": { parameters: { @@ -2027,8 +2027,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * @@ -2038,11 +2038,11 @@ export interface webhooks { * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/unpinned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-created": { parameters: { @@ -2051,8 +2051,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or "[Labels](https://docs.github.com/rest/issues/labels)" in the REST API documentation. * @@ -2062,11 +2062,11 @@ export interface webhooks { * @description A label was created. */ post: operations["label/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-deleted": { parameters: { @@ -2075,8 +2075,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or "[Labels](https://docs.github.com/rest/issues/labels)" in the REST API documentation. * @@ -2086,11 +2086,11 @@ export interface webhooks { * @description A label was deleted. */ post: operations["label/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-edited": { parameters: { @@ -2099,8 +2099,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or "[Labels](https://docs.github.com/rest/issues/labels)" in the REST API documentation. * @@ -2110,11 +2110,11 @@ export interface webhooks { * @description A label's name, description, or color was changed. */ post: operations["label/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "marketplace-purchase-cancelled": { parameters: { @@ -2123,18 +2123,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in the REST API documentation. * @description Someone cancelled a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately. */ post: operations["marketplace-purchase/cancelled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "marketplace-purchase-changed": { parameters: { @@ -2143,18 +2143,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in the REST API documentation. * @description Someone upgraded or downgraded a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately. */ post: operations["marketplace-purchase/changed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "marketplace-purchase-pending-change": { parameters: { @@ -2163,18 +2163,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in the REST API documentation. * @description Someone downgraded or cancelled a GitHub Marketplace plan. The new plan or cancellation will take effect at the end of the current billing cycle. When the change takes effect, the `changed` or `cancelled` event will be sent. */ post: operations["marketplace-purchase/pending-change"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "marketplace-purchase-pending-change-cancelled": { parameters: { @@ -2183,18 +2183,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in the REST API documentation. * @description Someone cancelled a pending change to a GitHub Marketplace plan. Pending changes include plan cancellations and downgrades that will take effect at the end of a billing cycle. */ post: operations["marketplace-purchase/pending-change-cancelled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "marketplace-purchase-purchased": { parameters: { @@ -2203,18 +2203,18 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see "[GitHub Marketplace](https://docs.github.com/marketplace)." For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or "[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)" in the REST API documentation. * @description Someone purchased a GitHub Marketplace plan. The change will take effect on the account immediately. */ post: operations["marketplace-purchase/purchased"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-added": { parameters: { @@ -2223,8 +2223,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2232,11 +2232,11 @@ export interface webhooks { * @description A GitHub user accepted an invitation to a repository. */ post: operations["member/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-edited": { parameters: { @@ -2245,8 +2245,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2254,11 +2254,11 @@ export interface webhooks { * @description Permissions were changed for a collaborator on a repository. */ post: operations["member/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-removed": { parameters: { @@ -2267,8 +2267,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/rest/collaborators/collaborators)" in the REST API documentation. * @@ -2276,11 +2276,11 @@ export interface webhooks { * @description A collaborator was removed from a repository. */ post: operations["member/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-added": { parameters: { @@ -2289,8 +2289,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#team) or "[Team members](https://docs.github.com/rest/teams/members)" in the REST API documentation. * @@ -2298,11 +2298,11 @@ export interface webhooks { * @description An organization member was added to a team. */ post: operations["membership/added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-removed": { parameters: { @@ -2311,8 +2311,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#team) or "[Team members](https://docs.github.com/rest/teams/members)" in the REST API documentation. * @@ -2320,11 +2320,11 @@ export interface webhooks { * @description An organization member was removed from a team. */ post: operations["membership/removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "merge-group-checks-requested": { parameters: { @@ -2333,8 +2333,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a merge group in a merge queue. For more information, see "[Managing a merge queue](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue)." * @@ -2344,11 +2344,11 @@ export interface webhooks { * When you receive this event, you should perform checks on the head SHA and report status back using check runs or commit statuses. */ post: operations["merge-group/checks-requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "merge-group-destroyed": { parameters: { @@ -2357,8 +2357,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a merge group in a merge queue. For more information, see "[Managing a merge queue](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue)." * @@ -2368,11 +2368,11 @@ export interface webhooks { * When you receive this event, you may want to cancel any checks that are running on the head SHA to avoid wasting computing resources on a merge group that will not be used. */ post: operations["merge-group/destroyed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "meta-deleted": { parameters: { @@ -2381,8 +2381,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a webhook itself. * @@ -2390,11 +2390,11 @@ export interface webhooks { * @description The webhook was deleted. */ post: operations["meta/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-closed": { parameters: { @@ -2403,8 +2403,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/rest/issues/milestones)" in the REST API documentation. * @@ -2414,11 +2414,11 @@ export interface webhooks { * @description A milestone was closed. */ post: operations["milestone/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-created": { parameters: { @@ -2427,8 +2427,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/rest/issues/milestones)" in the REST API documentation. * @@ -2438,11 +2438,11 @@ export interface webhooks { * @description A milestone was created. */ post: operations["milestone/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-deleted": { parameters: { @@ -2451,8 +2451,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/rest/issues/milestones)" in the REST API documentation. * @@ -2462,11 +2462,11 @@ export interface webhooks { * @description A milestone was deleted. */ post: operations["milestone/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-edited": { parameters: { @@ -2475,8 +2475,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/rest/issues/milestones)" in the REST API documentation. * @@ -2486,11 +2486,11 @@ export interface webhooks { * @description A milestone was edited. */ post: operations["milestone/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-opened": { parameters: { @@ -2499,8 +2499,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/rest/issues/milestones)" in the REST API documentation. * @@ -2510,11 +2510,11 @@ export interface webhooks { * @description A milestone was opened. */ post: operations["milestone/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "org-block-blocked": { parameters: { @@ -2523,8 +2523,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see "[Blocking a user from your organization](https://docs.github.com/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization)." For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#userblockedevent) or "[Blocking users](https://docs.github.com/rest/orgs/blocking)" in the REST API documentation. * @@ -2534,11 +2534,11 @@ export interface webhooks { * @description A user was blocked from the organization. */ post: operations["org-block/blocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "org-block-unblocked": { parameters: { @@ -2547,8 +2547,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see "[Blocking a user from your organization](https://docs.github.com/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization)." For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#userblockedevent) or "[Blocking users](https://docs.github.com/rest/orgs/blocking)" in the REST API documentation. * @@ -2558,11 +2558,11 @@ export interface webhooks { * @description A previously blocked user was unblocked from the organization. */ post: operations["org-block/unblocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-deleted": { parameters: { @@ -2571,8 +2571,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/rest/orgs)" in the REST API documentation. * @@ -2582,11 +2582,11 @@ export interface webhooks { * @description An organization was deleted. */ post: operations["organization/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-added": { parameters: { @@ -2595,8 +2595,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/rest/orgs)" in the REST API documentation. * @@ -2606,11 +2606,11 @@ export interface webhooks { * @description A member accepted an invitation to join an organization. */ post: operations["organization/member-added"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-invited": { parameters: { @@ -2619,8 +2619,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/rest/orgs)" in the REST API documentation. * @@ -2630,11 +2630,11 @@ export interface webhooks { * @description A member was invited to join the organization. */ post: operations["organization/member-invited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-removed": { parameters: { @@ -2643,8 +2643,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/rest/orgs)" in the REST API documentation. * @@ -2654,11 +2654,11 @@ export interface webhooks { * @description A member was removed from the organization. */ post: operations["organization/member-removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-renamed": { parameters: { @@ -2667,8 +2667,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/rest/orgs)" in the REST API documentation. * @@ -2678,11 +2678,11 @@ export interface webhooks { * @description The name of an organization was changed. */ post: operations["organization/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-published": { parameters: { @@ -2691,8 +2691,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or "[Packages](https://docs.github.com/rest/packages)" in the REST API documentation. * @@ -2700,11 +2700,11 @@ export interface webhooks { * @description A package was published to a registry. */ post: operations["package/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-updated": { parameters: { @@ -2713,8 +2713,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or "[Packages](https://docs.github.com/rest/packages)" in the REST API documentation. * @@ -2722,11 +2722,11 @@ export interface webhooks { * @description A previously published package was updated. */ post: operations["package/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "page-build": { parameters: { @@ -2735,17 +2735,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/rest/pages)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. */ post: operations["page-build"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-approved": { parameters: { @@ -2754,8 +2754,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * @@ -2765,11 +2765,11 @@ export interface webhooks { * @description A fine-grained personal access token request was approved. */ post: operations["personal-access-token-request/approved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-cancelled": { parameters: { @@ -2778,8 +2778,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * @@ -2789,11 +2789,11 @@ export interface webhooks { * @description A fine-grained personal access token request was cancelled by the requester. */ post: operations["personal-access-token-request/cancelled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-created": { parameters: { @@ -2802,8 +2802,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * @@ -2813,11 +2813,11 @@ export interface webhooks { * @description A fine-grained personal access token request was created. */ post: operations["personal-access-token-request/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-denied": { parameters: { @@ -2826,8 +2826,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * @@ -2837,11 +2837,11 @@ export interface webhooks { * @description A fine-grained personal access token request was denied. */ post: operations["personal-access-token-request/denied"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; ping: { parameters: { @@ -2850,15 +2850,15 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ post: operations["ping"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-converted": { parameters: { @@ -2867,8 +2867,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * @@ -2878,11 +2878,11 @@ export interface webhooks { * @description A note in a classic project was converted to an issue. */ post: operations["project-card/converted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-created": { parameters: { @@ -2891,8 +2891,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * @@ -2902,11 +2902,11 @@ export interface webhooks { * @description A card was added to a classic project. */ post: operations["project-card/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-deleted": { parameters: { @@ -2915,8 +2915,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * @@ -2926,11 +2926,11 @@ export interface webhooks { * @description A card on a classic project was deleted. */ post: operations["project-card/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-edited": { parameters: { @@ -2939,8 +2939,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * @@ -2950,11 +2950,11 @@ export interface webhooks { * @description A note on a classic project was edited. */ post: operations["project-card/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-moved": { parameters: { @@ -2963,8 +2963,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * @@ -2974,11 +2974,11 @@ export interface webhooks { * @description A card on a classic project was moved to another column or to another position in its column. */ post: operations["project-card/moved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-closed": { parameters: { @@ -2987,8 +2987,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * @@ -2998,11 +2998,11 @@ export interface webhooks { * @description A classic project was closed. */ post: operations["project/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-created": { parameters: { @@ -3011,8 +3011,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * @@ -3022,11 +3022,11 @@ export interface webhooks { * @description A column was added to a classic project. */ post: operations["project-column/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-deleted": { parameters: { @@ -3035,8 +3035,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * @@ -3046,11 +3046,11 @@ export interface webhooks { * @description A column was deleted from a classic project. */ post: operations["project-column/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-edited": { parameters: { @@ -3059,8 +3059,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * @@ -3070,11 +3070,11 @@ export interface webhooks { * @description The name of a column on a classic project was changed. */ post: operations["project-column/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-moved": { parameters: { @@ -3083,8 +3083,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * @@ -3094,11 +3094,11 @@ export interface webhooks { * @description A column was moved to a new position on a classic project. */ post: operations["project-column/moved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-created": { parameters: { @@ -3107,8 +3107,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * @@ -3118,11 +3118,11 @@ export interface webhooks { * @description A classic project was created. */ post: operations["project/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-deleted": { parameters: { @@ -3131,8 +3131,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * @@ -3142,11 +3142,11 @@ export interface webhooks { * @description A classic project was deleted. */ post: operations["project/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-edited": { parameters: { @@ -3155,8 +3155,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * @@ -3166,11 +3166,11 @@ export interface webhooks { * @description The name or description of a classic project was changed. */ post: operations["project/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-reopened": { parameters: { @@ -3179,8 +3179,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a classic project. For more information, see "[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/rest/projects)" in the REST API documentation. * @@ -3190,11 +3190,11 @@ export interface webhooks { * @description A classic project was closed. */ post: operations["project/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-closed": { parameters: { @@ -3203,8 +3203,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). * @@ -3216,11 +3216,11 @@ export interface webhooks { * @description A project in the organization was closed. */ post: operations["projects-v2/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-created": { parameters: { @@ -3229,8 +3229,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). * @@ -3242,11 +3242,11 @@ export interface webhooks { * @description A project in the organization was created. */ post: operations["projects-v2/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-deleted": { parameters: { @@ -3255,8 +3255,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). * @@ -3268,11 +3268,11 @@ export interface webhooks { * @description A project in the organization was deleted. */ post: operations["projects-v2/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-edited": { parameters: { @@ -3281,8 +3281,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). * @@ -3294,11 +3294,11 @@ export interface webhooks { * @description The title, description, or README of a project in the organization was changed. */ post: operations["projects-v2/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-archived": { parameters: { @@ -3307,8 +3307,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). * @@ -3320,11 +3320,11 @@ export interface webhooks { * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/archived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-converted": { parameters: { @@ -3333,8 +3333,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). * @@ -3346,11 +3346,11 @@ export interface webhooks { * @description A draft issue in an organization project was converted to an issue. */ post: operations["projects-v2-item/converted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-created": { parameters: { @@ -3359,8 +3359,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). * @@ -3372,11 +3372,11 @@ export interface webhooks { * @description An item was added to a project in the organization. */ post: operations["projects-v2-item/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-deleted": { parameters: { @@ -3385,8 +3385,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). * @@ -3398,11 +3398,11 @@ export interface webhooks { * @description An item was deleted from a project in the organization. */ post: operations["projects-v2-item/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-edited": { parameters: { @@ -3411,8 +3411,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). * @@ -3424,11 +3424,11 @@ export interface webhooks { * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. */ post: operations["projects-v2-item/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-reordered": { parameters: { @@ -3437,8 +3437,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). * @@ -3450,11 +3450,11 @@ export interface webhooks { * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. */ post: operations["projects-v2-item/reordered"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-restored": { parameters: { @@ -3463,8 +3463,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item). * @@ -3476,11 +3476,11 @@ export interface webhooks { * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/restored"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-reopened": { parameters: { @@ -3489,8 +3489,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2). * @@ -3502,11 +3502,11 @@ export interface webhooks { * @description A project in the organization was reopened. */ post: operations["projects-v2/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; public: { parameters: { @@ -3515,17 +3515,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. */ post: operations["public"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-assigned": { parameters: { @@ -3534,8 +3534,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -3545,11 +3545,11 @@ export interface webhooks { * @description A pull request was assigned to a user. */ post: operations["pull-request/assigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-disabled": { parameters: { @@ -3558,8 +3558,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -3569,11 +3569,11 @@ export interface webhooks { * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-disabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-enabled": { parameters: { @@ -3582,8 +3582,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -3593,11 +3593,11 @@ export interface webhooks { * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-enabled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-closed": { parameters: { @@ -3606,8 +3606,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -3617,11 +3617,11 @@ export interface webhooks { * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. */ post: operations["pull-request/closed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-converted-to-draft": { parameters: { @@ -3630,8 +3630,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -3641,11 +3641,11 @@ export interface webhooks { * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/converted-to-draft"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-demilestoned": { parameters: { @@ -3654,8 +3654,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -3665,11 +3665,11 @@ export interface webhooks { * @description A pull request was removed from a milestone. */ post: operations["pull-request/demilestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-dequeued": { parameters: { @@ -3678,8 +3678,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -3689,11 +3689,11 @@ export interface webhooks { * @description A pull request was removed from the merge queue. */ post: operations["pull-request/dequeued"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-edited": { parameters: { @@ -3702,8 +3702,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -3713,11 +3713,11 @@ export interface webhooks { * @description The title or body of a pull request was edited. */ post: operations["pull-request/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-enqueued": { parameters: { @@ -3726,8 +3726,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -3737,11 +3737,11 @@ export interface webhooks { * @description A pull request was added to the merge queue. */ post: operations["pull-request/enqueued"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-labeled": { parameters: { @@ -3750,8 +3750,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -3761,11 +3761,11 @@ export interface webhooks { * @description A label was added to a pull request. */ post: operations["pull-request/labeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-locked": { parameters: { @@ -3774,8 +3774,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -3785,11 +3785,11 @@ export interface webhooks { * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/locked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-milestoned": { parameters: { @@ -3798,8 +3798,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -3809,11 +3809,11 @@ export interface webhooks { * @description A pull request was added to a milestone. */ post: operations["pull-request/milestoned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-opened": { parameters: { @@ -3822,8 +3822,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -3833,11 +3833,11 @@ export interface webhooks { * @description A pull request was created */ post: operations["pull-request/opened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-ready-for-review": { parameters: { @@ -3846,8 +3846,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -3857,11 +3857,11 @@ export interface webhooks { * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/ready-for-review"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-reopened": { parameters: { @@ -3870,8 +3870,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -3881,11 +3881,11 @@ export interface webhooks { * @description A previously closed pull request was reopened. */ post: operations["pull-request/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-created": { parameters: { @@ -3894,8 +3894,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/rest/pulls/comments)" in the REST API documentation. * @@ -3905,11 +3905,11 @@ export interface webhooks { * @description A comment on a pull request diff was created. */ post: operations["pull-request-review-comment/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-deleted": { parameters: { @@ -3918,8 +3918,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/rest/pulls/comments)" in the REST API documentation. * @@ -3929,11 +3929,11 @@ export interface webhooks { * @description A comment on a pull request diff was deleted. */ post: operations["pull-request-review-comment/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-edited": { parameters: { @@ -3942,8 +3942,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/rest/pulls/comments)" in the REST API documentation. * @@ -3953,11 +3953,11 @@ export interface webhooks { * @description The content of a comment on a pull request diff was changed. */ post: operations["pull-request-review-comment/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-dismissed": { parameters: { @@ -3966,8 +3966,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/rest/pulls/reviews)" in the REST API documentation. * @@ -3977,11 +3977,11 @@ export interface webhooks { * @description A review on a pull request was dismissed. */ post: operations["pull-request-review/dismissed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-edited": { parameters: { @@ -3990,8 +3990,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/rest/pulls/reviews)" in the REST API documentation. * @@ -4001,11 +4001,11 @@ export interface webhooks { * @description The body comment on a pull request review was edited. */ post: operations["pull-request-review/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-request-removed": { parameters: { @@ -4014,8 +4014,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -4025,11 +4025,11 @@ export interface webhooks { * @description A request for review by a person or team was removed from a pull request. */ post: operations["pull-request/review-request-removed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-requested": { parameters: { @@ -4038,8 +4038,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -4049,11 +4049,11 @@ export interface webhooks { * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." */ post: operations["pull-request/review-requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-submitted": { parameters: { @@ -4062,8 +4062,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/rest/pulls/reviews)" in the REST API documentation. * @@ -4073,11 +4073,11 @@ export interface webhooks { * @description A review on a pull request was submitted. */ post: operations["pull-request-review/submitted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-resolved": { parameters: { @@ -4086,8 +4086,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/rest/pulls/comments)" in the REST API documentation. * @@ -4097,11 +4097,11 @@ export interface webhooks { * @description A comment thread on a pull request was marked as resolved. */ post: operations["pull-request-review-thread/resolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-unresolved": { parameters: { @@ -4110,8 +4110,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/rest/pulls/comments)" in the REST API documentation. * @@ -4121,11 +4121,11 @@ export interface webhooks { * @description A previously resolved comment thread on a pull request was marked as unresolved. */ post: operations["pull-request-review-thread/unresolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-synchronize": { parameters: { @@ -4134,8 +4134,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -4145,11 +4145,11 @@ export interface webhooks { * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. */ post: operations["pull-request/synchronize"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unassigned": { parameters: { @@ -4158,8 +4158,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -4169,11 +4169,11 @@ export interface webhooks { * @description A user was unassigned from a pull request. */ post: operations["pull-request/unassigned"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlabeled": { parameters: { @@ -4182,8 +4182,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -4193,11 +4193,11 @@ export interface webhooks { * @description A label was removed from a pull request. */ post: operations["pull-request/unlabeled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlocked": { parameters: { @@ -4206,8 +4206,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/rest/pulls/pulls)" in the REST API documentation. * @@ -4217,11 +4217,11 @@ export interface webhooks { * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/unlocked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; push: { parameters: { @@ -4230,8 +4230,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch * and tag deletions, use the [`delete`](#delete) webhook event. @@ -4240,11 +4240,11 @@ export interface webhooks { * * **Note**: An event will not be created when more than three tags are pushed at once. */ post: operations["push"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-published": { parameters: { @@ -4253,8 +4253,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or "[Packages](https://docs.github.com/rest/packages)" in the REST API documentation. * @@ -4264,11 +4264,11 @@ export interface webhooks { * @description A package was published to a registry. */ post: operations["registry-package/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-updated": { parameters: { @@ -4277,8 +4277,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or "[Packages](https://docs.github.com/rest/packages)" in the REST API documentation. * @@ -4288,11 +4288,11 @@ export interface webhooks { * @description A package that was previously published to a registry was updated. */ post: operations["registry-package/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-created": { parameters: { @@ -4301,8 +4301,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. * @@ -4310,11 +4310,11 @@ export interface webhooks { * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. */ post: operations["release/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-deleted": { parameters: { @@ -4323,8 +4323,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. * @@ -4332,11 +4332,11 @@ export interface webhooks { * @description A release, pre-release, or draft release was deleted. */ post: operations["release/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-edited": { parameters: { @@ -4345,8 +4345,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. * @@ -4354,11 +4354,11 @@ export interface webhooks { * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." */ post: operations["release/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-prereleased": { parameters: { @@ -4367,8 +4367,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. * @@ -4376,11 +4376,11 @@ export interface webhooks { * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. */ post: operations["release/prereleased"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-published": { parameters: { @@ -4389,8 +4389,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. * @@ -4398,11 +4398,11 @@ export interface webhooks { * @description A release, pre-release, or draft of a release was published. */ post: operations["release/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-released": { parameters: { @@ -4411,8 +4411,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. * @@ -4420,11 +4420,11 @@ export interface webhooks { * @description A release was published, or a pre-release was changed to a release. */ post: operations["release/released"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-unpublished": { parameters: { @@ -4433,8 +4433,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or "[Releases](https://docs.github.com/rest/releases)" in the REST API documentation. * @@ -4442,11 +4442,11 @@ export interface webhooks { * @description A release or pre-release was unpublished. */ post: operations["release/unpublished"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-advisory-published": { parameters: { @@ -4455,8 +4455,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." * @@ -4464,11 +4464,11 @@ export interface webhooks { * @description A repository security advisory was published. */ post: operations["repository-advisory/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-advisory-reported": { parameters: { @@ -4477,8 +4477,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." * @@ -4486,11 +4486,11 @@ export interface webhooks { * @description A private vulnerability report was submitted. */ post: operations["repository-advisory/reported"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-archived": { parameters: { @@ -4499,8 +4499,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * @@ -4508,11 +4508,11 @@ export interface webhooks { * @description A repository was archived. */ post: operations["repository/archived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-created": { parameters: { @@ -4521,8 +4521,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * @@ -4530,11 +4530,11 @@ export interface webhooks { * @description A repository was created. */ post: operations["repository/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-deleted": { parameters: { @@ -4543,8 +4543,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * @@ -4552,11 +4552,11 @@ export interface webhooks { * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. */ post: operations["repository/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-dispatch-sample.collected": { parameters: { @@ -4565,8 +4565,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event). * @@ -4574,11 +4574,11 @@ export interface webhooks { * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. */ post: operations["repository-dispatch/sample.collected"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-edited": { parameters: { @@ -4587,8 +4587,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * @@ -4596,11 +4596,11 @@ export interface webhooks { * @description The topics, default branch, description, or homepage of a repository was changed. */ post: operations["repository/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-import": { parameters: { @@ -4609,15 +4609,15 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a repository is imported to GitHub. For more information, see "[Importing a repository with GitHub Importer](https://docs.github.com/get-started/importing-your-projects-to-github/importing-source-code-to-github/importing-a-repository-with-github-importer)." For more information about the API to manage imports, see [the REST API documentation](https://docs.github.com/rest/migrations/source-imports). */ post: operations["repository-import"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-privatized": { parameters: { @@ -4626,8 +4626,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * @@ -4635,11 +4635,11 @@ export interface webhooks { * @description The visibility of a repository was changed to `private`. */ post: operations["repository/privatized"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-publicized": { parameters: { @@ -4648,8 +4648,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * @@ -4657,11 +4657,11 @@ export interface webhooks { * @description The visibility of a repository was changed to `public`. */ post: operations["repository/publicized"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-renamed": { parameters: { @@ -4670,8 +4670,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * @@ -4679,11 +4679,11 @@ export interface webhooks { * @description The name of a repository was changed. */ post: operations["repository/renamed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-ruleset-created": { parameters: { @@ -4692,8 +4692,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository rulesets. * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." @@ -4703,11 +4703,11 @@ export interface webhooks { * @description A repository ruleset was created. */ post: operations["repository-ruleset/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-ruleset-deleted": { parameters: { @@ -4716,8 +4716,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository rulesets. * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." @@ -4727,11 +4727,11 @@ export interface webhooks { * @description A repository ruleset was deleted. */ post: operations["repository-ruleset/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-ruleset-edited": { parameters: { @@ -4740,8 +4740,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository rulesets. * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." @@ -4751,11 +4751,11 @@ export interface webhooks { * @description A repository ruleset was edited. */ post: operations["repository-ruleset/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-transferred": { parameters: { @@ -4764,8 +4764,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * @@ -4773,11 +4773,11 @@ export interface webhooks { * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. */ post: operations["repository/transferred"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-unarchived": { parameters: { @@ -4786,8 +4786,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/rest/repos)" in the REST API documentation. * @@ -4795,11 +4795,11 @@ export interface webhooks { * @description A previously archived repository was unarchived. */ post: operations["repository/unarchived"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-create": { parameters: { @@ -4808,8 +4808,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4817,11 +4817,11 @@ export interface webhooks { * @description A repository vulnerability alert was created. */ post: operations["repository-vulnerability-alert/create"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-dismiss": { parameters: { @@ -4830,8 +4830,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4839,11 +4839,11 @@ export interface webhooks { * @description A repository vulnerability alert was dismissed. */ post: operations["repository-vulnerability-alert/dismiss"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-reopen": { parameters: { @@ -4852,8 +4852,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4861,11 +4861,11 @@ export interface webhooks { * @description A previously dismissed or resolved repository vulnerability alert was reopened. */ post: operations["repository-vulnerability-alert/reopen"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-resolve": { parameters: { @@ -4874,8 +4874,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * @@ -4883,11 +4883,11 @@ export interface webhooks { * @description A repository vulnerability alert was marked as resolved. */ post: operations["repository-vulnerability-alert/resolve"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-created": { parameters: { @@ -4896,8 +4896,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. * @@ -4907,11 +4907,11 @@ export interface webhooks { * @description A secret scanning alert was created. */ post: operations["secret-scanning-alert/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-location-created": { parameters: { @@ -4920,8 +4920,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. * @@ -4933,11 +4933,11 @@ export interface webhooks { * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. */ post: operations["secret-scanning-alert-location/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-reopened": { parameters: { @@ -4946,8 +4946,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. * @@ -4957,11 +4957,11 @@ export interface webhooks { * @description A previously closed secret scanning alert was reopened. */ post: operations["secret-scanning-alert/reopened"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-resolved": { parameters: { @@ -4970,8 +4970,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. * @@ -4981,11 +4981,11 @@ export interface webhooks { * @description A secret scanning alert was closed. */ post: operations["secret-scanning-alert/resolved"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-revoked": { parameters: { @@ -4994,8 +4994,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. * @@ -5005,11 +5005,11 @@ export interface webhooks { * @description A secret scanning alert was marked as revoked. */ post: operations["secret-scanning-alert/revoked"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-published": { parameters: { @@ -5018,8 +5018,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). * @@ -5027,11 +5027,11 @@ export interface webhooks { * @description A security advisory was published to the GitHub community. */ post: operations["security-advisory/published"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-updated": { parameters: { @@ -5040,8 +5040,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). * @@ -5049,11 +5049,11 @@ export interface webhooks { * @description The metadata or description of a security advisory was changed, or the security advisory was withdrawn. */ post: operations["security-advisory/updated"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-withdrawn": { parameters: { @@ -5062,8 +5062,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see "[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories)." For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). * @@ -5071,11 +5071,11 @@ export interface webhooks { * @description A previously published security advisory was withdrawn. */ post: operations["security-advisory/withdrawn"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-and-analysis": { parameters: { @@ -5084,17 +5084,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/code-security/getting-started/github-security-features)." * * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. */ post: operations["security-and-analysis"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-cancelled": { parameters: { @@ -5103,8 +5103,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). * @@ -5114,11 +5114,11 @@ export interface webhooks { * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/cancelled"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-created": { parameters: { @@ -5127,8 +5127,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). * @@ -5136,11 +5136,11 @@ export interface webhooks { * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. */ post: operations["sponsorship/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-edited": { parameters: { @@ -5149,8 +5149,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). * @@ -5158,11 +5158,11 @@ export interface webhooks { * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. */ post: operations["sponsorship/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-cancellation": { parameters: { @@ -5171,8 +5171,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). * @@ -5182,11 +5182,11 @@ export interface webhooks { * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/pending-cancellation"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-tier-change": { parameters: { @@ -5195,8 +5195,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). * @@ -5204,11 +5204,11 @@ export interface webhooks { * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. */ post: operations["sponsorship/pending-tier-change"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-tier-changed": { parameters: { @@ -5217,8 +5217,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship). * @@ -5226,11 +5226,11 @@ export interface webhooks { * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. */ post: operations["sponsorship/tier-changed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-created": { parameters: { @@ -5239,8 +5239,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/rest/activity/starring)" in the REST API documentation. * @@ -5248,11 +5248,11 @@ export interface webhooks { * @description Someone starred a repository. */ post: operations["star/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-deleted": { parameters: { @@ -5261,8 +5261,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/rest/activity/starring)" in the REST API documentation. * @@ -5270,11 +5270,11 @@ export interface webhooks { * @description Someone unstarred the repository. */ post: operations["star/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; status: { parameters: { @@ -5283,17 +5283,17 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/rest/commits/statuses)" in the REST API documentation. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. */ post: operations["status"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-add": { parameters: { @@ -5302,8 +5302,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a team is added to a repository. * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." * @@ -5311,11 +5311,11 @@ export interface webhooks { * * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. */ post: operations["team-add"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-added-to-repository": { parameters: { @@ -5324,8 +5324,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." @@ -5334,11 +5334,11 @@ export interface webhooks { * @description A team was granted access to a repository. */ post: operations["team/added-to-repository"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-created": { parameters: { @@ -5347,8 +5347,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." @@ -5357,11 +5357,11 @@ export interface webhooks { * @description A team was created. */ post: operations["team/created"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-deleted": { parameters: { @@ -5370,8 +5370,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." @@ -5380,11 +5380,11 @@ export interface webhooks { * @description A team was deleted. */ post: operations["team/deleted"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-edited": { parameters: { @@ -5393,8 +5393,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." @@ -5403,11 +5403,11 @@ export interface webhooks { * @description The name, description, or visibility of a team was changed. */ post: operations["team/edited"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-removed-from-repository": { parameters: { @@ -5416,8 +5416,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. * For more information, see "[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams)." @@ -5426,11 +5426,11 @@ export interface webhooks { * @description A team's access to a repository was removed. */ post: operations["team/removed-from-repository"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "watch-started": { parameters: { @@ -5439,8 +5439,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/rest/activity/watching)" in the REST API documentation. * @@ -5448,11 +5448,11 @@ export interface webhooks { * @description Someone started watching the repository. */ post: operations["watch/started"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-dispatch": { parameters: { @@ -5461,19 +5461,19 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/actions/managing-workflow-runs/manually-running-a-workflow)." * * For activity relating to workflow runs, use the `workflow_run` event. * * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["workflow-dispatch"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-completed": { parameters: { @@ -5482,8 +5482,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -5493,11 +5493,11 @@ export interface webhooks { * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. */ post: operations["workflow-job/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-in-progress": { parameters: { @@ -5506,8 +5506,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -5517,11 +5517,11 @@ export interface webhooks { * @description A job in a workflow run started processing on a runner. */ post: operations["workflow-job/in-progress"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-queued": { parameters: { @@ -5530,8 +5530,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -5541,11 +5541,11 @@ export interface webhooks { * @description A job in a workflow run was created. */ post: operations["workflow-job/queued"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-waiting": { parameters: { @@ -5554,8 +5554,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)" in the REST API documentation. * @@ -5565,11 +5565,11 @@ export interface webhooks { * @description A job in a workflow run was created and is waiting for approvals. */ post: operations["workflow-job/waiting"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-completed": { parameters: { @@ -5578,8 +5578,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)" in the REST API documentation. * @@ -5589,11 +5589,11 @@ export interface webhooks { * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. */ post: operations["workflow-run/completed"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-in-progress": { parameters: { @@ -5602,8 +5602,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)" in the REST API documentation. * @@ -5613,11 +5613,11 @@ export interface webhooks { * @description A workflow run started processing on a runner. */ post: operations["workflow-run/in-progress"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-requested": { parameters: { @@ -5626,8 +5626,8 @@ export interface webhooks { path?: never; cookie?: never; }; - get: never; - put: never; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)" in the REST API documentation. * @@ -5637,11 +5637,11 @@ export interface webhooks { * @description A workflow run was triggered. */ post: operations["workflow-run/requested"]; - delete: never; - options: never; - head: never; - patch: never; - trace: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; } export interface components { @@ -6500,7 +6500,7 @@ export interface components { metadata?: string; contents?: string; deployments?: string; - [key: string]: string; + [key: string]: string | undefined; }; /** @description The list of events for the GitHub app */ events: string[]; @@ -28117,11 +28117,11 @@ export interface components { }; platform?: string; metadata?: { - [key: string]: string; + [key: string]: string | undefined; }; repo?: string; dependencies?: { - [key: string]: string; + [key: string]: string | undefined; }[]; commit_oid?: string; }; @@ -28403,37 +28403,37 @@ export interface components { /** @description New requested permissions, categorized by type of permission. */ permissions_added: { organization?: { - [key: string]: string; + [key: string]: string | undefined; }; repository?: { - [key: string]: string; + [key: string]: string | undefined; }; other?: { - [key: string]: string; + [key: string]: string | undefined; }; }; /** @description Requested permissions that elevate access for a previously approved request for access, categorized by type of permission. */ permissions_upgraded: { organization?: { - [key: string]: string; + [key: string]: string | undefined; }; repository?: { - [key: string]: string; + [key: string]: string | undefined; }; other?: { - [key: string]: string; + [key: string]: string | undefined; }; }; /** @description Permissions requested, categorized by type of permission. This field incorporates `permissions_added` and `permissions_upgraded`. */ permissions_result: { organization?: { - [key: string]: string; + [key: string]: string | undefined; }; repository?: { - [key: string]: string; + [key: string]: string | undefined; }; other?: { - [key: string]: string; + [key: string]: string | undefined; }; }; /** From 811ae18d8abf65511e4c98cdf14bc597dc50618e Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Thu, 5 Oct 2023 21:53:12 -0400 Subject: [PATCH 05/10] style: prettier --- scripts/generate-types.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/generate-types.js b/scripts/generate-types.js index ee0cfbe..a199b95 100644 --- a/scripts/generate-types.js +++ b/scripts/generate-types.js @@ -88,12 +88,13 @@ type Repository = components["schemas"]["full-repository"] await writeFile( `packages/${packageName}/types.d.ts`, await prettier.format( - COMMENT_HEADER + astToString( - await openapiTS( - pathToFileURL(`packages/openapi-webhooks/generated/${name}.json`), - { defaultNonNullable: false, } + COMMENT_HEADER + + astToString( + await openapiTS( + pathToFileURL(`packages/openapi-webhooks/generated/${name}.json`), + { defaultNonNullable: false }, + ), ), - ), { parser: "typescript", }, From dc106019a5b2f8930a342a40b422b831f60c448e Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Sun, 19 Nov 2023 13:08:51 -0500 Subject: [PATCH 06/10] build: upgrade `openapi-typescript` --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index f02a0e8..16391c5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "deep-equal": "^2.0.5", "github-enterprise-server-versions": "^2.0.1", "lodash": "^4.17.21", - "openapi-typescript": "^7.0.0-next.1", + "openapi-typescript": "^7.0.0-next.2", "prettier": "^3.0.0", "semantic-release": "^22.0.0", "semantic-release-plugin-update-version-in-files": "^1.1.0" @@ -6062,9 +6062,9 @@ } }, "node_modules/openapi-typescript": { - "version": "7.0.0-next.1", - "resolved": "https://registry.npmjs.org/openapi-typescript/-/openapi-typescript-7.0.0-next.1.tgz", - "integrity": "sha512-QbdEX3urev3mue8r+hrF88ZvcoInN8rnojf0TZueLGc+LC8C4VLCew/ZbRdgoDUsdPGF+qDhIQyDm6yIK7oe6Q==", + "version": "7.0.0-next.2", + "resolved": "https://registry.npmjs.org/openapi-typescript/-/openapi-typescript-7.0.0-next.2.tgz", + "integrity": "sha512-28z7waM6zQngdylvz0reHP/Ax40FzcdcIMqLoz9zaV7l3k/iDzr+wcjMH+KlQh7x7THXBMe2L1K2edfwvJmz8A==", "dev": true, "dependencies": { "@redocly/openapi-core": "^1.2.0", diff --git a/package.json b/package.json index 5a1def8..e2924cd 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "deep-equal": "^2.0.5", "github-enterprise-server-versions": "^2.0.1", "lodash": "^4.17.21", - "openapi-typescript": "^7.0.0-next.1", + "openapi-typescript": "^7.0.0-next.2", "prettier": "^3.0.0", "semantic-release": "^22.0.0", "semantic-release-plugin-update-version-in-files": "^1.1.0" From 1dfdb2b2d6daa655fec55e0e963130ec58965b66 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Sat, 3 Feb 2024 05:52:45 -0500 Subject: [PATCH 07/10] build: upgrade `openapi-typescript` --- package-lock.json | 37 +++++++++++++++++-------------------- package.json | 2 +- 2 files changed, 18 insertions(+), 21 deletions(-) diff --git a/package-lock.json b/package-lock.json index a934f27..f866502 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "deep-equal": "^2.0.5", "github-enterprise-server-versions": "^2.0.1", "lodash": "^4.17.21", - "openapi-typescript": "^7.0.0-next.2", + "openapi-typescript": "^7.0.0-next.7", "prettier": "^3.0.0", "semantic-release": "^23.0.0", "semantic-release-plugin-update-version-in-files": "^1.1.0" @@ -451,13 +451,12 @@ } }, "node_modules/@redocly/openapi-core": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@redocly/openapi-core/-/openapi-core-1.2.0.tgz", - "integrity": "sha512-Ccft2n/JiF4u2crmj1cdDzPq6C40U7NgLZ+p/BxzAFXbfrddr/5FN0HMJPHT/op329qqv2P2jUrXsV2Bp+rzEQ==", + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@redocly/openapi-core/-/openapi-core-1.8.2.tgz", + "integrity": "sha512-VjUz3wrqcDbO1HfEB0AUzh6Y7T1jNJR4Jmgfs0ipuoipLjU5bDsdfKJGSSz2u0WpfmqklPsd11ynkgL5Y+MlCg==", "dev": true, "dependencies": { "@redocly/ajv": "^8.11.0", - "@types/node": "^14.11.8", "colorette": "^1.2.0", "js-levenshtein": "^1.1.6", "js-yaml": "^4.1.0", @@ -468,7 +467,8 @@ "yaml-ast-parser": "0.0.43" }, "engines": { - "node": ">=14.0.0" + "node": ">=14.19.0", + "npm": ">=7.0.0" } }, "node_modules/@redocly/openapi-core/node_modules/brace-expansion": { @@ -627,12 +627,6 @@ "url": "https://github.com/sindresorhus/is?sponsor=1" } }, - "node_modules/@types/node": { - "version": "14.18.63", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", - "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==", - "dev": true - }, "node_modules/@types/normalize-package-data": { "version": "2.4.4", "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", @@ -6118,19 +6112,21 @@ } }, "node_modules/openapi-typescript": { - "version": "7.0.0-next.2", - "resolved": "https://registry.npmjs.org/openapi-typescript/-/openapi-typescript-7.0.0-next.2.tgz", - "integrity": "sha512-28z7waM6zQngdylvz0reHP/Ax40FzcdcIMqLoz9zaV7l3k/iDzr+wcjMH+KlQh7x7THXBMe2L1K2edfwvJmz8A==", + "version": "7.0.0-next.7", + "resolved": "https://registry.npmjs.org/openapi-typescript/-/openapi-typescript-7.0.0-next.7.tgz", + "integrity": "sha512-10eoW5weEvUV+knxqd4Ve4n5acSSWLBGvZOVkuctfWwr0v65v7J7IRbP5+3K2Oys7yTHGZnvtKmWhn9ao0L/bw==", "dev": true, "dependencies": { - "@redocly/openapi-core": "^1.2.0", + "@redocly/openapi-core": "^1.6.0", "ansi-colors": "^4.1.3", "supports-color": "^9.4.0", - "typescript": "^5.2.2", "yargs-parser": "^21.1.1" }, "bin": { "openapi-typescript": "bin/cli.js" + }, + "peerDependencies": { + "typescript": "^5.x" } }, "node_modules/p-each-series": { @@ -6461,9 +6457,9 @@ "dev": true }, "node_modules/punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true, "engines": { "node": ">=6" @@ -7395,6 +7391,7 @@ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", "dev": true, + "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" diff --git a/package.json b/package.json index cf04db2..6aa4004 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "deep-equal": "^2.0.5", "github-enterprise-server-versions": "^2.0.1", "lodash": "^4.17.21", - "openapi-typescript": "^7.0.0-next.2", + "openapi-typescript": "^7.0.0-next.7", "prettier": "^3.0.0", "semantic-release": "^23.0.0", "semantic-release-plugin-update-version-in-files": "^1.1.0" From 466c57f8da55d75dbb95924b101b02a01f22433a Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Fri, 16 Feb 2024 17:19:03 -0500 Subject: [PATCH 08/10] build: update GHES3.12 --- .../types.d.ts | 9290 +++++++++++------ 1 file changed, 5900 insertions(+), 3390 deletions(-) diff --git a/packages/openapi-webhooks-types-ghes-3.12/types.d.ts b/packages/openapi-webhooks-types-ghes-3.12/types.d.ts index aad09ea..d4e100d 100644 --- a/packages/openapi-webhooks-types-ghes-3.12/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.12/types.d.ts @@ -3,2530 +3,5511 @@ * Do not make direct changes to the file. */ -/** OneOf type helpers */ -type Without = { [P in Exclude]?: never }; -type XOR = T | U extends object - ? (Without & U) | (Without & T) - : T | U; -type OneOf = T extends [infer Only] - ? Only - : T extends [infer A, infer B, ...infer Rest] - ? OneOf<[XOR, ...Rest]> - : never; - export type paths = Record; - export interface webhooks { "branch-protection-configuration-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is a change to branch protection configurations for a repository. - * For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." - * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-server@3.12/rest/branches/branch-protection)" in the REST API documentation. + * For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." + * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-server@3.12/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description All branch protections were disabled for a repository. */ post: operations["branch-protection-configuration/disabled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-configuration-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is a change to branch protection configurations for a repository. - * For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." - * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-server@3.12/rest/branches/branch-protection)" in the REST API documentation. + * For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." + * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-server@3.12/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description All branch protections were enabled for a repository. */ post: operations["branch-protection-configuration/enabled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.12/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was created. */ post: operations["branch-protection-rule/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.12/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was deleted. */ post: operations["branch-protection-rule/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.12/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was edited. */ post: operations["branch-protection-rule/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "cache-sync": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](https://docs.github.com/enterprise-server@3.12/admin/enterprise-management/caching-repositories/about-repository-caching)." */ post: operations["cache-sync"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.12/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run was completed, and a conclusion is available. */ post: operations["check-run/completed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.12/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A new check run was created. */ post: operations["check-run/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-requested-action": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.12/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.12/developers/apps/guides/creating-ci-tests-with-the-checks-api)." */ post: operations["check-run/requested-action"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.12/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. */ post: operations["check-run/rerequested"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.12/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description All check runs in a check suite have completed, and a conclusion is available. */ post: operations["check-suite/completed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.12/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.12/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-server@3.12/rest/checks/runs#create-a-check-run)" in the REST API documentation. */ post: operations["check-suite/requested"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.12/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.12/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-server@3.12/rest/checks/suites#create-a-check-suite)" in the REST API documentation. */ post: operations["check-suite/rerequested"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-appeared-in-branch": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.12/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. */ post: operations["code-scanning-alert/appeared-in-branch"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-closed-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.12/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone closed a code scanning alert. */ post: operations["code-scanning-alert/closed-by-user"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.12/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was created in a repository. */ post: operations["code-scanning-alert/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.12/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was fixed in a branch by a commit. */ post: operations["code-scanning-alert/fixed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.12/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously fixed code scanning alert reappeared in a branch. */ post: operations["code-scanning-alert/reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.12/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone reopened a code scanning alert. */ post: operations["code-scanning-alert/reopened-by-user"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "commit-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-server@3.12/rest/commits/comments)" in the REST API documentation. * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. + * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description Someone commented on a commit. */ post: operations["commit-comment/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; create: { - /** - * This event occurs when a Git branch or tag is created. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when a Git branch or tag is created. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ + * **Notes**: + * - This event will not occur when more than three tags are created at once. + * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. */ post: operations["create"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; delete: { - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including + * branch and tag deletions, use the [`push`](#push) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Note**: This event will not occur when more than three tags are deleted at once. - */ + * **Note**: This event will not occur when more than three tags are deleted at once. */ post: operations["delete"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-auto-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was automatically closed by a Dependabot auto-triage rule. */ post: operations["dependabot-alert/auto-dismissed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-auto-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed. */ post: operations["dependabot-alert/auto-reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reintroduced": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. + * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.12/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.12/rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was created. */ post: operations["deploy-key/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.12/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.12/rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was deleted. */ post: operations["deploy-key/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.12/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.12/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment status, use the `deployment_status` event. + * For activity relating to deployment status, use the `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment was created. */ post: operations["deployment/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-protection-rule-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment protection rules. For more information, see "[Using environments for deployment](https://docs.github.com/enterprise-server@3.12/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules)." For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.12/rest/deployments/environments). * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment protection rule was requested for an environment. */ post: operations["deployment-protection-rule/requested"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-approved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.12/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.12/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was approved. */ post: operations["deployment-review/approved"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-rejected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.12/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.12/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was rejected. */ post: operations["deployment-review/rejected"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.12/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.12/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was requested. */ post: operations["deployment-review/requested"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-status-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.12/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.12/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation, use the `deployment` event. + * For activity relating to deployment creation, use the `deployment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A new deployment status was created. */ post: operations["deployment-status/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-answered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-category-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was closed. */ post: operations["discussion/closed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was created. */ post: operations["discussion/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was deleted. */ post: operations["discussion/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was locked. */ post: operations["discussion/locked"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was pinned. */ post: operations["discussion/pinned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was reopened. */ post: operations["discussion/reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unanswered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. + * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "enterprise-anonymous-access-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.12/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was disabled. */ post: operations["enterprise/anonymous-access-disabled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "enterprise-anonymous-access-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.12/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was enabled. */ post: operations["enterprise/anonymous-access-enabled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; fork: { - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.12/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.12/rest/repos/forks)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.12/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.12/rest/repos/forks)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["fork"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "github-app-authorization-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. + * A GitHub App receives this webhook by default and cannot unsubscribe from this event. * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.12/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." + * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.12/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." * @description Someone revoked their authorization of a GitHub App. */ post: operations["github-app-authorization/revoked"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; gollum: { - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.12/communities/documenting-your-project-with-wikis/about-wikis)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.12/communities/documenting-your-project-with-wikis/about-wikis)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["gollum"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. * @description Someone installed a GitHub App on a user or organization account. */ post: operations["installation/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. * @description Someone uninstalled a GitHub App from their user or organization account. */ post: operations["installation/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-new-permissions-accepted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. * @description Someone granted new permissions to a GitHub App. */ post: operations["installation/new-permissions-accepted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. * @description A GitHub App installation was granted access to one or more repositories. */ post: operations["installation-repositories/added"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. * @description Access to one or more repositories was revoked for a GitHub App installation. */ post: operations["installation-repositories/removed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-suspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. * @description Someone blocked access by a GitHub App to their user or organization account. */ post: operations["installation/suspend"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-target-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. * @description Somebody renamed the user or organization account that a GitHub App is installed on. */ post: operations["installation-target/renamed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-unsuspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. */ post: operations["installation/unsuspend"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.12/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.12/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.12/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was created. */ post: operations["issue-comment/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.12/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.12/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.12/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was deleted. */ post: operations["issue-comment/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.12/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.12/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.12/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was edited. */ post: operations["issue-comment/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was assigned to a user. */ post: operations["issues/assigned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was closed. */ post: operations["issues/closed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was deleted. */ post: operations["issues/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was removed from a milestone. */ post: operations["issues/demilestoned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description The title or body on an issue was edited. */ post: operations["issues/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was added to an issue. */ post: operations["issues/labeled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.12/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/locked"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was added to a milestone. */ post: operations["issues/milestoned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. */ post: operations["issues/opened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/pinned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A closed issue was reopened. */ post: operations["issues/reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." */ post: operations["issues/transferred"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A user was unassigned from an issue. */ post: operations["issues/unassigned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was removed from an issue. */ post: operations["issues/unlabeled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.12/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/unlocked"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/unpinned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.12/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.12/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was created. */ post: operations["label/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.12/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.12/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was deleted. */ post: operations["label/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.12/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.12/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label's name, description, or color was changed. */ post: operations["label/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.12/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.12/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A GitHub user accepted an invitation to a repository. */ post: operations["member/added"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.12/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.12/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description Permissions were changed for a collaborator on a repository. */ post: operations["member/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.12/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.12/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A collaborator was removed from a repository. */ post: operations["member/removed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.12/rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was added to a team. */ post: operations["membership/added"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.12/rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was removed from a team. */ post: operations["membership/removed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "meta-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a webhook itself. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. * @description The webhook was deleted. */ post: operations["meta/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.12/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.12/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was closed. */ post: operations["milestone/closed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.12/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.12/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was created. */ post: operations["milestone/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.12/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.12/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was deleted. */ post: operations["milestone/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.12/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.12/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was edited. */ post: operations["milestone/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.12/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.12/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was opened. */ post: operations["milestone/opened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.12/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.12/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization was deleted. */ post: operations["organization/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.12/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.12/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member accepted an invitation to join an organization. */ post: operations["organization/member-added"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-invited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.12/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.12/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was invited to join the organization. */ post: operations["organization/member-invited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.12/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.12/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was removed from the organization. */ post: operations["organization/member-removed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.12/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.12/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name of an organization was changed. */ post: operations["organization/renamed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.12/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.12/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A package was published to a registry. */ post: operations["package/published"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.12/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.12/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A previously published package was updated. */ post: operations["package/updated"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "page-build": { - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.12/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.12/rest/pages)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.12/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.12/rest/pages)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. */ post: operations["page-build"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-approved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.12/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was approved. */ post: operations["personal-access-token-request/approved"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.12/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was cancelled by the requester. */ post: operations["personal-access-token-request/cancelled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.12/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was created. */ post: operations["personal-access-token-request/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-denied": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.12/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was denied. */ post: operations["personal-access-token-request/denied"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; ping: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ post: operations["ping"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. + * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note in a project (classic) was converted to an issue. */ post: operations["project-card/converted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. + * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card was added to a project (classic). */ post: operations["project-card/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. + * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a project (classic) was deleted. */ post: operations["project-card/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. + * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note on a project (classic) was edited. */ post: operations["project-card/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. + * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a project (classic) was moved to another column or to another position in its column. */ post: operations["project-card/moved"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. + * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A project (classic) was closed. */ post: operations["project/closed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. + * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was added to a project (classic). */ post: operations["project-column/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. + * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was deleted from a project (classic). */ post: operations["project-column/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. + * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name of a column on a project (classic) was changed. */ post: operations["project-column/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. + * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was moved to a new position on a project (classic). */ post: operations["project-column/moved"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. + * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A project (classic) was created. */ post: operations["project/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. + * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A project (classic) was deleted. */ post: operations["project/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. + * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name or description of a project (classic) was changed. */ post: operations["project/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. + * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A project (classic) was closed. */ post: operations["project/reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was closed. */ post: operations["projects-v2/closed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was created. */ post: operations["projects-v2/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was deleted. */ post: operations["projects-v2/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The title, description, or README of a project in the organization was changed. */ post: operations["projects-v2/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/archived"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A draft issue in an organization project was converted to an issue. */ post: operations["projects-v2-item/converted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was added to a project in the organization. */ post: operations["projects-v2-item/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was deleted from a project in the organization. */ post: operations["projects-v2-item/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. */ post: operations["projects-v2-item/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-reordered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. */ post: operations["projects-v2-item/reordered"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-restored": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/restored"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was reopened. */ post: operations["projects-v2/reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; public: { - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.12/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.12/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. */ post: operations["public"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was assigned to a user. */ post: operations["pull-request/assigned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-disabled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-enabled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. */ post: operations["pull-request/closed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-converted-to-draft": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/converted-to-draft"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was removed from a milestone. */ post: operations["pull-request/demilestoned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The title or body of a pull request was edited, or the base branch of a pull request was changed. */ post: operations["pull-request/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was added to a pull request. */ post: operations["pull-request/labeled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.12/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/locked"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was added to a milestone. */ post: operations["pull-request/milestoned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was created */ post: operations["pull-request/opened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-ready-for-review": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/ready-for-review"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously closed pull request was reopened. */ post: operations["pull-request/reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.12/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was created. */ post: operations["pull-request-review-comment/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.12/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was deleted. */ post: operations["pull-request-review-comment/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.12/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The content of a comment on a pull request diff was changed. */ post: operations["pull-request-review-comment/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.12/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was dismissed. */ post: operations["pull-request-review/dismissed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.12/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The body comment on a pull request review was edited. */ post: operations["pull-request-review/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-request-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A request for review by a person or team was removed from a pull request. */ post: operations["pull-request/review-request-removed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." */ post: operations["pull-request/review-requested"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-submitted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.12/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was submitted. */ post: operations["pull-request-review/submitted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.12/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment thread on a pull request was marked as resolved. */ post: operations["pull-request-review-thread/resolved"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-unresolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.12/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously resolved comment thread on a pull request was marked as unresolved. */ post: operations["pull-request-review-thread/unresolved"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-synchronize": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. */ post: operations["pull-request/synchronize"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A user was unassigned from a pull request. */ post: operations["pull-request/unassigned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was removed from a pull request. */ post: operations["pull-request/unlabeled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.12/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/unlocked"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; push: { - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, + * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch + * and tag deletions, use the [`delete`](#delete) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Note**: An event will not be created when more than three tags are pushed at once. - */ + * **Note**: An event will not be created when more than three tags are pushed at once. */ post: operations["push"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.12/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.12/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * **Note**: GitHub recommends that you use the newer `package` event instead. + * **Note**: GitHub recommends that you use the newer `package` event instead. * @description A package was published to a registry. */ post: operations["registry-package/published"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.12/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.12/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * **Note**: GitHub recommends that you use the newer `package` event instead. + * **Note**: GitHub recommends that you use the newer `package` event instead. * @description A package that was previously published to a registry was updated. */ post: operations["registry-package/updated"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.12/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.12/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. */ post: operations["release/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.12/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.12/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft release was deleted. */ post: operations["release/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.12/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.12/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-server@3.12/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." */ post: operations["release/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-prereleased": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.12/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.12/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. */ post: operations["release/prereleased"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.12/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.12/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft of a release was published. */ post: operations["release/published"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-released": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.12/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.12/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was published, or a pre-release was changed to a release. */ post: operations["release/released"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-unpublished": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.12/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.12/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release or pre-release was unpublished. */ post: operations["release/unpublished"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-anonymous-access-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-disabled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-anonymous-access-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-enabled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was archived. */ post: operations["repository/archived"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was created. */ post: operations["repository/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. */ post: operations["repository/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-dispatch-sample.collected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.12/rest/repos/repos#create-a-repository-dispatch-event). * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. */ post: operations["repository-dispatch/sample.collected"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The topics, default branch, description, or homepage of a repository was changed. */ post: operations["repository/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-privatized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `private`. */ post: operations["repository/privatized"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-publicized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `public`. */ post: operations["repository/publicized"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The name of a repository was changed. */ post: operations["repository/renamed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-ruleset-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.12/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.12/rest/orgs/rules) in the REST API documentation." + * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." + * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.12/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.12/rest/orgs/rules) in the REST API documentation." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. * @description A repository ruleset was created. */ post: operations["repository-ruleset/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-ruleset-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.12/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.12/rest/orgs/rules) in the REST API documentation." + * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." + * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.12/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.12/rest/orgs/rules) in the REST API documentation." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. * @description A repository ruleset was deleted. */ post: operations["repository-ruleset/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-ruleset-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.12/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.12/rest/orgs/rules) in the REST API documentation." + * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." + * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.12/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.12/rest/orgs/rules) in the REST API documentation." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. * @description A repository ruleset was edited. */ post: operations["repository-ruleset/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. */ post: operations["repository/transferred"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-unarchived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A previously archived repository was unarchived. */ post: operations["repository/unarchived"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-create": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was created. */ post: operations["repository-vulnerability-alert/create"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-dismiss": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was dismissed. */ post: operations["repository-vulnerability-alert/dismiss"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-reopen": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A previously dismissed or resolved repository vulnerability alert was reopened. */ post: operations["repository-vulnerability-alert/reopen"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-resolve": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. + * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was marked as resolved. */ post: operations["repository-vulnerability-alert/resolve"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.12/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.12/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was created. */ post: operations["secret-scanning-alert/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-location-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.12/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.12/rest/secret-scanning)" in the REST API documentation. + * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.12/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.12/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. + * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. */ post: operations["secret-scanning-alert-location/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.12/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.12/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A previously closed secret scanning alert was reopened. */ post: operations["secret-scanning-alert/reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.12/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.12/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was closed. */ post: operations["secret-scanning-alert/resolved"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.12/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.12/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was marked as revoked. */ post: operations["secret-scanning-alert/revoked"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/enterprise-server@3.12/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.12/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description A security advisory was published to the GitHub community. */ post: operations["security-advisory/published"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/enterprise-server@3.12/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.12/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description The metadata or description of a security advisory was changed. */ post: operations["security-advisory/updated"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-withdrawn": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/enterprise-server@3.12/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.12/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description A previously published security advisory was withdrawn. */ post: operations["security-advisory/withdrawn"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-and-analysis": { - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.12/code-security/getting-started/github-security-features)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.12/code-security/getting-started/github-security-features)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. */ post: operations["security-and-analysis"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.12/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsorship was cancelled and the last billing cycle has ended. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/cancelled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.12/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. */ post: operations["sponsorship/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.12/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. */ post: operations["sponsorship/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-cancellation": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.12/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/pending-cancellation"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-tier-change": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.12/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. */ post: operations["sponsorship/pending-tier-change"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-tier-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.12/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. */ post: operations["sponsorship/tier-changed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.12/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.12/rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone starred a repository. */ post: operations["star/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.12/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.12/rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone unstarred the repository. */ post: operations["star/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; status: { - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.12/rest/commits/statuses)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.12/rest/commits/statuses)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. */ post: operations["status"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-add": { - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.12/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when a team is added to a repository. + * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.12/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." * - * For activity relating to teams, see the `teams` event. + * For activity relating to teams, see the `teams` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. */ post: operations["team-add"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-added-to-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was granted access to a repository. */ post: operations["team/added-to-repository"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was created. */ post: operations["team/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was deleted. */ post: operations["team/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name, description, or visibility of a team was changed. */ post: operations["team/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-removed-from-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team's access to a repository was removed. */ post: operations["team/removed-from-repository"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "user-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was added to the enterprise. */ post: operations["user/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "user-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was removed from the enterprise. */ post: operations["user/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "watch-started": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-server@3.12/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-server@3.12/rest/activity/watching)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone started watching the repository. */ post: operations["watch/started"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-dispatch": { - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.12/actions/managing-workflow-runs/manually-running-a-workflow)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.12/actions/managing-workflow-runs/manually-running-a-workflow)." * - * For activity relating to workflow runs, use the `workflow_run` event. + * For activity relating to workflow runs, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["workflow-dispatch"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.12/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.12/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. */ post: operations["workflow-job/completed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.12/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.12/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run started processing on a runner. */ post: operations["workflow-job/in-progress"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-queued": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.12/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.12/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run was created. */ post: operations["workflow-job/queued"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-waiting": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.12/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.12/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run was created and is waiting for approvals. */ post: operations["workflow-job/waiting"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.12/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.12/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. */ post: operations["workflow-run/completed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.12/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.12/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run started processing on a runner. */ post: operations["workflow-run/in-progress"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.12/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.12/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run was triggered. */ post: operations["workflow-run/requested"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; } - export interface components { schemas: { /** branch protection configuration disabled event */ @@ -2542,8 +5523,9 @@ export interface components { /** * Enterprise * @description An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured - * on an enterprise account or an organization that's part of an enterprise account. For more information, - * see "[About enterprise accounts](https://docs.github.com/enterprise-server@3.12/admin/overview/about-enterprise-accounts)." + * on an enterprise account or an organization that's part of an enterprise account. For more information, + * see "[About enterprise accounts](https://docs.github.com/enterprise-server@3.12/admin/overview/about-enterprise-accounts)." + * */ "enterprise-webhooks": { /** @description A short description of the enterprise. */ @@ -2572,8 +5554,8 @@ export interface components { /** * Simple Installation * @description The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured - * for and sent to a GitHub App. For more information, - * see "[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-server@3.12/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + * for and sent to a GitHub App. For more information, + * see "[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-server@3.12/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." */ "simple-installation": { /** @description The ID of the installation. */ @@ -2584,7 +5566,7 @@ export interface components { /** * Organization Simple * @description A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an - * organization, or when the event occurs from activity in a repository owned by an organization. + * organization, or when the event occurs from activity in a repository owned by an organization. */ "organization-simple-webhooks": { login: string; @@ -2606,7 +5588,7 @@ export interface components { /** * Repository * @description The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property - * when the event occurs from activity in a repository. + * when the event occurs from activity in a repository. */ "repository-webhooks": { /** @description Unique identifier of the repository */ @@ -2868,34 +5850,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -2933,34 +5915,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -3419,9 +6401,9 @@ export interface components { /** * @description The set of permissions for the GitHub app * @example { - * "issues": "read", - * "deployments": "write" - * } + * "issues": "read", + * "deployments": "write" + * } */ permissions: { issues?: string; @@ -5479,10 +8461,10 @@ export interface components { * @description The state of the Dependabot alert. * @enum {string} */ - state: "auto_dismissed" | "dismissed" | "fixed" | "open"; + readonly state: "auto_dismissed" | "dismissed" | "fixed" | "open"; /** @description Details for the vulnerable dependency. */ - dependency: { - readonly package?: components["schemas"]["dependabot-alert-package"]; + readonly dependency: { + package?: components["schemas"]["dependabot-alert-package"]; /** @description The full path to the dependency manifest file, relative to the root of the repository. */ readonly manifest_path?: string; /** @@ -5516,16 +8498,16 @@ export interface components { auto_dismissed_at?: components["schemas"]["alert-auto-dismissed-at"]; }; /** @description The security alert number. */ - readonly "alert-number": number; + "alert-number": number; /** @description Details for the vulnerable package. */ - readonly "dependabot-alert-package": { + "dependabot-alert-package": { /** @description The package's language or package management ecosystem. */ readonly ecosystem: string; /** @description The unique package name within its ecosystem. */ readonly name: string; }; /** @description Details for the GitHub Security Advisory. */ - readonly "dependabot-alert-security-advisory": { + "dependabot-alert-security-advisory": { /** @description The unique GitHub Security Advisory ID assigned to the advisory. */ readonly ghsa_id: string; /** @description The unique CVE ID assigned to the advisory. */ @@ -5535,7 +8517,7 @@ export interface components { /** @description A long-form Markdown-supported description of the advisory. */ readonly description: string; /** @description Vulnerable version range information for the advisory. */ - readonly vulnerabilities: readonly components["schemas"]["dependabot-alert-security-vulnerability"][]; + readonly vulnerabilities: components["schemas"]["dependabot-alert-security-vulnerability"][]; /** * @description The severity of the advisory. * @enum {string} @@ -5549,14 +8531,14 @@ export interface components { readonly vector_string: string | null; }; /** @description Details for the advisory pertaining to Common Weakness Enumeration. */ - readonly cwes: readonly { + readonly cwes: { /** @description The unique CWE ID. */ readonly cwe_id: string; /** @description The short, plain text name of the CWE. */ readonly name: string; }[]; /** @description Values that identify this advisory among security information sources. */ - readonly identifiers: readonly { + readonly identifiers: { /** * @description The type of advisory identifier. * @enum {string} @@ -5566,7 +8548,7 @@ export interface components { readonly value: string; }[]; /** @description Links to additional advisory information. */ - readonly references: readonly { + readonly references: { /** * Format: uri * @description The URL of the reference. @@ -5590,8 +8572,8 @@ export interface components { readonly withdrawn_at: string | null; }; /** @description Details pertaining to one vulnerable version range for the advisory. */ - readonly "dependabot-alert-security-vulnerability": { - readonly package: components["schemas"]["dependabot-alert-package"]; + "dependabot-alert-security-vulnerability": { + package: components["schemas"]["dependabot-alert-package"]; /** * @description The severity of the vulnerability. * @enum {string} @@ -5609,37 +8591,37 @@ export interface components { * Format: uri * @description The REST API URL of the alert resource. */ - readonly "alert-url": string; + "alert-url": string; /** * Format: uri * @description The GitHub URL of the alert resource. */ - readonly "alert-html-url": string; + "alert-html-url": string; /** * Format: date-time * @description The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-created-at": string; + "alert-created-at": string; /** * Format: date-time * @description The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-updated-at": string; + "alert-updated-at": string; /** * Format: date-time * @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-dismissed-at": string | null; + "alert-dismissed-at": string | null; /** * Format: date-time * @description The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-fixed-at": string | null; + "alert-fixed-at": string | null; /** * Format: date-time * @description The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-auto-dismissed-at": string | null; + "alert-auto-dismissed-at": string | null; /** Dependabot alert auto-reopened event */ "webhook-dependabot-alert-auto-reopened": { /** @enum {string} */ @@ -6358,14 +9340,11 @@ export interface components { ref: string; /** @description Parameter to specify a task to execute */ task: string; - payload: OneOf< - [ - { + payload: + | { [key: string]: unknown; - }, - string, - ] - >; + } + | string; original_environment?: string; /** @description Name for the target deployment environment. */ environment: string; @@ -8199,7 +11178,8 @@ export interface components { id: number; node_id: string; original_environment: string; - payload: string | Record | null; + payload: (null | Record) & + (string | Record); /** * App * @description GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. @@ -9153,8 +12133,8 @@ export interface components { repository_url: string; /** * @description The current state of the discussion. - * `converting` means that the discussion is being converted from an issue. - * `transferring` means that the discussion is being transferred from another repository. + * `converting` means that the discussion is being converted from an issue. + * `transferring` means that the discussion is being transferred from another repository. * @enum {string} */ state: "open" | "closed" | "locked" | "converting" | "transferring"; @@ -10184,7 +13164,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -10424,11 +13404,15 @@ export interface components { /** @description The ID of the installation. */ id: number; account: - | null | ( - | components["schemas"]["simple-user"] - | components["schemas"]["enterprise"] - ); + | null + | ( + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"] + ) + ) + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"]; /** * @description Describe whether all repositories have been selected or there's a selection involved * @enum {string} @@ -10491,11 +13475,11 @@ export interface components { * App Permissions * @description The permissions granted to the user access token. * @example { - * "contents": "read", - * "issues": "read", - * "deployments": "write", - * "single_file": "read" - * } + * "contents": "read", + * "issues": "read", + * "deployments": "write", + * "single_file": "read" + * } */ "app-permissions": { /** @@ -18196,7 +21180,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -20406,7 +23390,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -24512,19 +27496,16 @@ export interface components { | { id?: number | string; name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -24628,11 +27609,11 @@ export interface components { }; platform?: string; metadata?: { - [key: string]: string; + [key: string]: string | undefined; }; repo?: string; dependencies?: { - [key: string]: string; + [key: string]: string | undefined; }[]; commit_oid?: string; }; @@ -24916,37 +27897,37 @@ export interface components { /** @description New requested permissions, categorized by type of permission. */ permissions_added: { organization?: { - [key: string]: string; + [key: string]: string | undefined; }; repository?: { - [key: string]: string; + [key: string]: string | undefined; }; other?: { - [key: string]: string; + [key: string]: string | undefined; }; }; /** @description Requested permissions that elevate access for a previously approved request for access, categorized by type of permission. */ permissions_upgraded: { organization?: { - [key: string]: string; + [key: string]: string | undefined; }; repository?: { - [key: string]: string; + [key: string]: string | undefined; }; other?: { - [key: string]: string; + [key: string]: string | undefined; }; }; /** @description Permissions requested, categorized by type of permission. This field incorporates `permissions_added` and `permissions_upgraded`. */ permissions_result: { organization?: { - [key: string]: string; + [key: string]: string | undefined; }; repository?: { - [key: string]: string; + [key: string]: string | undefined; }; other?: { - [key: string]: string; + [key: string]: string | undefined; }; }; /** @@ -26123,22 +29104,19 @@ export interface components { "webhook-projects-v2-item-edited": { /** @enum {string} */ action: "edited"; - changes?: OneOf< - [ - { + changes?: + | { field_value: { field_node_id?: string; field_type?: string; }; - }, - { + } + | { body: { from?: string | null; to?: string | null; }; - }, - ] - >; + }; installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; @@ -26579,17 +29557,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -26656,7 +29634,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -26664,9 +29642,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -26676,8 +29654,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -26922,17 +29900,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -26999,7 +29977,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -27007,9 +29985,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -27019,8 +29997,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -27242,9 +30220,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -27279,8 +30256,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -27330,9 +30307,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -27791,17 +30767,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -27868,7 +30844,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -27876,9 +30852,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -27888,8 +30864,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28134,17 +31110,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -28211,7 +31187,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -28219,9 +31195,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -28231,8 +31207,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28454,9 +31430,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -28491,8 +31466,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -28542,9 +31517,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -29004,17 +31978,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -29081,7 +32055,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -29089,9 +32063,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -29101,8 +32075,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29347,17 +32321,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -29424,7 +32398,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -29432,9 +32406,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -29444,8 +32418,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29667,9 +32641,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -29704,8 +32677,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -29755,9 +32728,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -29893,31 +32865,31 @@ export interface components { delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29954,31 +32926,31 @@ export interface components { delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30340,17 +33312,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -30417,7 +33389,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -30425,9 +33397,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -30437,8 +33409,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30683,17 +33655,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -30760,7 +33732,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -30768,9 +33740,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -30780,8 +33752,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31003,9 +33975,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -31040,8 +34011,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -31091,9 +34062,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -31247,31 +34217,31 @@ export interface components { delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31649,17 +34619,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -31726,7 +34696,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -31734,9 +34704,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -31746,8 +34716,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31992,17 +34962,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32069,7 +35039,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32077,9 +35047,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32089,8 +35059,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -32312,9 +35282,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -32349,8 +35318,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -32400,9 +35369,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -32862,17 +35830,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32939,7 +35907,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32947,9 +35915,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32959,8 +35927,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33205,17 +36173,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -33282,7 +36250,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -33290,9 +36258,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -33302,8 +36270,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33525,9 +36493,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -33562,8 +36529,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -33613,9 +36580,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -34075,17 +37041,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -34152,7 +37118,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -34160,9 +37126,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -34172,8 +37138,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34418,17 +37384,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -34495,7 +37461,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -34503,9 +37469,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -34515,8 +37481,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34738,9 +37704,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -34775,8 +37740,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -34826,9 +37791,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -34963,31 +37927,31 @@ export interface components { delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -35024,31 +37988,31 @@ export interface components { delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -35085,31 +38049,31 @@ export interface components { delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -35620,17 +38584,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -35697,7 +38661,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -35705,9 +38669,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -35717,8 +38681,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -35956,17 +38920,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -36033,7 +38997,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -36041,9 +39005,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -36053,8 +39017,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -36231,9 +39195,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -36268,8 +39231,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -36319,9 +39282,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -36924,17 +39886,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -37001,7 +39963,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -37009,9 +39971,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -37021,8 +39983,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37260,17 +40222,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -37337,7 +40299,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -37345,9 +40307,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -37357,8 +40319,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37535,9 +40497,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -37572,8 +40533,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -37623,9 +40584,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -38235,17 +41195,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -38312,7 +41272,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -38320,9 +41280,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -38332,8 +41292,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -38571,17 +41531,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -38648,7 +41608,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -38656,9 +41616,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -38668,8 +41628,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -38846,9 +41806,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -38883,8 +41842,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -38934,9 +41893,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -39387,17 +42345,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -39464,7 +42422,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -39472,9 +42430,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -39484,8 +42442,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -39723,17 +42681,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -39800,7 +42758,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -39808,9 +42766,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -39820,8 +42778,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -39998,9 +42956,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -40035,8 +42992,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -40086,9 +43043,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -40681,7 +43637,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -40968,7 +43924,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41139,9 +44095,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -41176,8 +44131,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -41227,9 +44182,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -41415,9 +44369,8 @@ export interface components { sender: components["schemas"]["simple-user-webhooks"]; }; /** pull_request review_request_removed event */ - "webhook-pull-request-review-request-removed": OneOf< - [ - { + "webhook-pull-request-review-request-removed": + | { /** @enum {string} */ action: "review_request_removed"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -41765,17 +44718,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41842,7 +44795,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42101,17 +45054,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -42178,7 +45131,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42186,9 +45139,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -42198,8 +45151,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -42421,9 +45374,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -42458,8 +45410,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -42509,9 +45461,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -42658,8 +45609,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_request_removed"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -43007,17 +45958,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -43084,7 +46035,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -43092,9 +46043,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -43104,8 +46055,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -43350,17 +46301,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -43427,7 +46378,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -43435,9 +46386,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -43447,8 +46398,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -43670,9 +46621,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -43707,8 +46657,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -43758,9 +46708,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -43925,13 +46874,10 @@ export interface components { url: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request review_requested event */ - "webhook-pull-request-review-requested": OneOf< - [ - { + "webhook-pull-request-review-requested": + | { /** @enum {string} */ action: "review_requested"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -44279,17 +47225,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -44356,7 +47302,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -44364,9 +47310,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -44376,8 +47322,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -44622,17 +47568,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -44699,7 +47645,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -44707,9 +47653,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -44719,8 +47665,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -44942,9 +47888,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -44979,8 +47924,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -45030,9 +47975,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -45179,8 +48123,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_requested"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -45528,17 +48472,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -45605,7 +48549,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -45613,9 +48557,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -45625,8 +48569,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -45871,17 +48815,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -45948,7 +48892,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -45956,9 +48900,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -45968,8 +48912,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -46191,9 +49135,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -46228,8 +49171,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -46279,9 +49222,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -46446,9 +49388,7 @@ export interface components { url?: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request_review submitted event */ "webhook-pull-request-review-submitted": { /** @enum {string} */ @@ -46795,17 +49735,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -46872,7 +49812,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -46880,9 +49820,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -46892,8 +49832,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -47131,17 +50071,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -47208,7 +50148,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -47216,9 +50156,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -47228,8 +50168,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -47406,9 +50346,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -47443,8 +50382,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -47494,9 +50433,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -48087,7 +51025,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -48381,7 +51319,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -48554,9 +51492,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -48591,8 +51528,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -48642,9 +51579,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -49307,7 +52243,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -49601,7 +52537,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -49774,9 +52710,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -49811,8 +52746,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -49862,9 +52797,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -50472,17 +53406,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -50549,7 +53483,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -50557,9 +53491,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -50569,8 +53503,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -50885,7 +53819,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -50893,9 +53827,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -50905,8 +53839,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -51128,9 +54062,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -51165,8 +54098,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -51216,9 +54149,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -51715,17 +54647,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -51792,7 +54724,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -51800,9 +54732,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -51812,8 +54744,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -52058,17 +54990,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -52135,7 +55067,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -52143,9 +55075,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -52155,8 +55087,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -52378,9 +55310,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -52415,8 +55346,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -52466,9 +55397,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -52944,17 +55874,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -53021,7 +55951,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53029,9 +55959,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -53041,8 +55971,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -53357,7 +56287,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53365,9 +56295,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -53377,8 +56307,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -53600,9 +56530,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -53637,8 +56566,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -53688,9 +56617,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -54150,17 +57078,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -54227,7 +57155,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -54235,9 +57163,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -54247,8 +57175,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -54493,17 +57421,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -54570,7 +57498,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -54578,9 +57506,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -54590,8 +57518,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -54813,9 +57741,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -54850,8 +57777,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -54901,9 +57828,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -55355,7 +58281,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -55477,19 +58403,23 @@ export interface components { name?: string; version?: string; npm_user?: string; - author?: string | Record | null; - bugs?: string | Record | null; + author?: (null | Record) & + (string | Record); + bugs?: (null | Record) & + (string | Record); dependencies?: Record; dev_dependencies?: Record; peer_dependencies?: Record; optional_dependencies?: Record; description?: string; - dist?: string | Record | null; + dist?: (null | Record) & + (string | Record); git_head?: string; homepage?: string; license?: string; main?: string; - repository?: string | Record | null; + repository?: (null | Record) & + (string | Record); scripts?: Record; id?: string; node_version?: string; @@ -55502,7 +58432,8 @@ export interface components { files?: string[]; bin?: Record; man?: Record; - directories?: string | Record | null; + directories?: (null | Record) & + (string | Record); os?: string[]; cpu?: string[]; readme?: string; @@ -55514,21 +58445,19 @@ export interface components { } | null; nuget_metadata?: | { - id?: string | Record | number | null; + id?: (null | Record) & + (string | Record | number); name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -57111,7 +60040,7 @@ export interface components { bypass_actors?: components["schemas"]["repository-ruleset-bypass-actor"][]; /** * @description The bypass type of the user making the API request for this ruleset. This field is only returned when - * querying the repository-level endpoint. + * querying the repository-level endpoint. * @enum {string} */ current_user_can_bypass?: "always" | "pull_requests_only" | "never"; @@ -57127,11 +60056,15 @@ export interface components { }; }; conditions?: - | null | ( - | components["schemas"]["repository-ruleset-conditions"] - | components["schemas"]["org-ruleset-conditions"] - ); + | null + | ( + | components["schemas"]["repository-ruleset-conditions"] + | components["schemas"]["org-ruleset-conditions"] + ) + ) + | components["schemas"]["repository-ruleset-conditions"] + | components["schemas"]["org-ruleset-conditions"]; rules?: components["schemas"]["repository-rule"][]; /** Format: date-time */ created_at?: string; @@ -57180,6 +60113,7 @@ export interface components { /** * Organization ruleset conditions * @description Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + * */ "org-ruleset-conditions": | (components["schemas"]["repository-ruleset-conditions"] & @@ -58517,34 +61451,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -58757,34 +61691,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -60107,7 +63041,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -60420,7 +63354,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -60733,7 +63667,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -61077,7 +64011,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -61390,7 +64324,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -63845,22 +66779,11 @@ export interface components { headers: never; pathItems: never; } - export type $defs = Record; - -export type external = Record; - export interface operations { - /** - * This event occurs when there is a change to branch protection configurations for a repository. - * For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." - * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-server@3.12/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description All branch protections were disabled for a repository. - */ "branch-protection-configuration/disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63877,6 +66800,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63886,20 +66811,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is a change to branch protection configurations for a repository. - * For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." - * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-server@3.12/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description All branch protections were enabled for a repository. - */ "branch-protection-configuration/enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63916,6 +66837,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63925,18 +66848,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.12/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was created. - */ "branch-protection-rule/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63957,6 +66878,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63966,18 +66889,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.12/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was deleted. - */ "branch-protection-rule/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63998,6 +66919,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64007,18 +66930,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.12/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was edited. - */ "branch-protection-rule/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64039,6 +66960,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64048,13 +66971,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](https://docs.github.com/enterprise-server@3.12/admin/enterprise-management/caching-repositories/about-repository-caching)." */ "cache-sync": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64075,6 +67001,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64084,24 +67012,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.12/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run was completed, and a conclusion is available. - */ "check-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64122,6 +67042,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64131,24 +67053,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.12/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A new check run was created. - */ "check-run/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64169,6 +67083,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64178,24 +67094,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.12/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.12/developers/apps/guides/creating-ci-tests-with-the-checks-api)." - */ "check-run/requested-action": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64216,6 +67124,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64225,24 +67135,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.12/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. - */ "check-run/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64263,6 +67165,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64272,24 +67176,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.12/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description All check runs in a check suite have completed, and a conclusion is available. - */ "check-suite/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64310,6 +67206,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64319,24 +67217,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.12/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.12/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-server@3.12/rest/checks/runs#create-a-check-run)" in the REST API documentation. - */ "check-suite/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64357,6 +67247,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64366,24 +67258,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.12/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * **Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.12/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-server@3.12/rest/checks/suites#create-a-check-suite)" in the REST API documentation. - */ "check-suite/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64404,6 +67288,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64413,18 +67299,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.12/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. - */ "code-scanning-alert/appeared-in-branch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64445,6 +67329,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64454,18 +67340,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.12/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone closed a code scanning alert. - */ "code-scanning-alert/closed-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64486,6 +67370,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64495,18 +67381,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.12/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was created in a repository. - */ "code-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64527,6 +67411,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64536,18 +67422,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.12/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was fixed in a branch by a commit. - */ "code-scanning-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64568,6 +67452,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64577,18 +67463,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.12/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously fixed code scanning alert reappeared in a branch. - */ "code-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64609,6 +67493,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64618,18 +67504,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.12/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.12/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone reopened a code scanning alert. - */ "code-scanning-alert/reopened-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64650,6 +67534,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64659,20 +67545,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-server@3.12/rest/commits/comments)" in the REST API documentation. - * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description Someone commented on a commit. - */ "commit-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64693,6 +67575,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64702,21 +67586,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is created. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ create: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64737,6 +67616,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64746,20 +67627,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Note**: This event will not occur when more than three tags are deleted at once. - */ delete: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64780,6 +67657,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64789,22 +67668,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was automatically closed by a Dependabot auto-triage rule. - */ "dependabot-alert/auto-dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64825,6 +67698,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64834,22 +67709,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed. - */ "dependabot-alert/auto-reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64870,6 +67739,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64879,22 +67750,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. - */ "dependabot-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64915,6 +67780,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64924,22 +67791,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually closed. - */ "dependabot-alert/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64960,6 +67821,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64969,22 +67832,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change removed a vulnerability. - */ "dependabot-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65005,6 +67862,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65014,22 +67873,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. - */ "dependabot-alert/reintroduced": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65050,6 +67903,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65059,22 +67914,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.12/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * **Note**: Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually reopened. - */ "dependabot-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65095,6 +67944,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65104,18 +67955,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.12/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.12/rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was created. - */ "deploy-key/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65136,6 +67985,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65145,18 +67996,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.12/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.12/rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was deleted. - */ "deploy-key/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65177,6 +68026,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65186,20 +68037,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.12/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.12/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment status, use the `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment was created. - */ "deployment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65220,6 +68067,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65229,18 +68078,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment protection rules. For more information, see "[Using environments for deployment](https://docs.github.com/enterprise-server@3.12/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules)." For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.12/rest/deployments/environments). - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment protection rule was requested for an environment. - */ "deployment-protection-rule/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65261,6 +68108,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65270,20 +68119,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.12/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.12/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was approved. - */ "deployment-review/approved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65304,6 +68149,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65313,20 +68160,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.12/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.12/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was rejected. - */ "deployment-review/rejected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65347,6 +68190,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65356,20 +68201,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.12/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.12/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was requested. - */ "deployment-review/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65390,6 +68231,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65399,20 +68242,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.12/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.12/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation, use the `deployment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A new deployment status was created. - */ "deployment-status/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65433,6 +68272,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65442,22 +68283,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was marked as the answer. - */ "discussion/answered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65478,6 +68313,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65487,22 +68324,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The category of a discussion was changed. - */ "discussion/category-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65523,6 +68354,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65532,22 +68365,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was closed. - */ "discussion/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65568,6 +68395,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65577,22 +68406,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was created. - */ "discussion-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65613,6 +68436,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65622,22 +68447,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was deleted. - */ "discussion-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65658,6 +68477,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65667,22 +68488,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was edited. - */ "discussion-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65703,6 +68518,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65712,22 +68529,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was created. - */ "discussion/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65748,6 +68559,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65757,22 +68570,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was deleted. - */ "discussion/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65793,6 +68600,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65802,22 +68611,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The title or body on a discussion was edited, or the category of the discussion was changed. - */ "discussion/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65838,6 +68641,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65847,22 +68652,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was added to a discussion. - */ "discussion/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65883,6 +68682,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65892,22 +68693,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was locked. - */ "discussion/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65928,6 +68723,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65937,22 +68734,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was pinned. - */ "discussion/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65973,6 +68764,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65982,22 +68775,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was reopened. - */ "discussion/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66018,6 +68805,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66027,22 +68816,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was transferred to another repository. - */ "discussion/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66063,6 +68846,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66072,22 +68857,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was unmarked as the answer. - */ "discussion/unanswered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66108,6 +68887,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66117,22 +68898,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was removed from a discussion. - */ "discussion/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66153,6 +68928,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66162,22 +68939,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unlocked. - */ "discussion/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66198,6 +68969,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66207,22 +68980,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.12/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * **Note**: Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unpinned. - */ "discussion/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66243,6 +69010,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66252,16 +69021,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.12/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." - * @description Anonymous Git read access was disabled. - */ "enterprise/anonymous-access-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66282,6 +69051,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66291,16 +69062,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.12/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." - * @description Anonymous Git read access was enabled. - */ "enterprise/anonymous-access-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66321,6 +69092,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66330,17 +69103,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.12/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.12/rest/repos/forks)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ fork: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66361,6 +69133,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66370,20 +69144,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. - * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. - * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.12/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." - * @description Someone revoked their authorization of a GitHub App. - */ "github-app-authorization/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66404,6 +69174,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66413,17 +69185,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.12/communities/documenting-your-project-with-wikis/about-wikis)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ gollum: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66444,6 +69215,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66453,18 +69226,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. - * @description Someone installed a GitHub App on a user or organization account. - */ "installation/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66485,6 +69256,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66494,18 +69267,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. - * @description Someone uninstalled a GitHub App from their user or organization account. - */ "installation/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66526,6 +69297,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66535,18 +69308,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. - * @description Someone granted new permissions to a GitHub App. - */ "installation/new-permissions-accepted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66567,6 +69338,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66576,18 +69349,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. - * @description A GitHub App installation was granted access to one or more repositories. - */ "installation-repositories/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66608,6 +69379,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66617,18 +69390,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. - * @description Access to one or more repositories was revoked for a GitHub App installation. - */ "installation-repositories/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66649,6 +69420,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66658,18 +69431,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. - * @description Someone blocked access by a GitHub App to their user or organization account. - */ "installation/suspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66690,6 +69461,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66699,16 +69472,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. - * @description Somebody renamed the user or organization account that a GitHub App is installed on. - */ "installation-target/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66729,6 +69502,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66738,18 +69513,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.12/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.12/rest/apps)" in the REST API documentation. - * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. - */ "installation/unsuspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66770,6 +69543,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66779,20 +69554,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.12/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.12/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was created. - */ "issue-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66813,6 +69584,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66822,20 +69595,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.12/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.12/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was deleted. - */ "issue-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66856,6 +69625,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66865,20 +69636,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.12/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.12/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was edited. - */ "issue-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66899,6 +69666,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66908,20 +69677,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was assigned to a user. - */ "issues/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66942,6 +69707,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66951,20 +69718,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was closed. - */ "issues/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -66985,6 +69748,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -66994,20 +69759,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was deleted. - */ "issues/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67028,6 +69789,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67037,20 +69800,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was removed from a milestone. - */ "issues/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67071,6 +69830,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67080,20 +69841,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description The title or body on an issue was edited. - */ "issues/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67114,6 +69871,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67123,20 +69882,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was added to an issue. - */ "issues/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67157,6 +69912,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67166,20 +69923,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.12/communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67200,6 +69953,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67209,20 +69964,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was added to a milestone. - */ "issues/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67243,6 +69994,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67252,20 +70005,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. - */ "issues/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67286,6 +70035,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67295,20 +70046,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67329,6 +70076,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67338,20 +70087,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A closed issue was reopened. - */ "issues/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67372,6 +70117,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67381,20 +70128,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." - */ "issues/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67415,6 +70158,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67424,20 +70169,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A user was unassigned from an issue. - */ "issues/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67458,6 +70199,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67467,20 +70210,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was removed from an issue. - */ "issues/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67501,6 +70240,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67510,20 +70251,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.12/communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67544,6 +70281,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67553,20 +70292,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.12/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.12/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67587,6 +70322,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67596,20 +70333,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.12/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.12/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was created. - */ "label/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67630,6 +70363,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67639,20 +70374,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.12/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.12/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was deleted. - */ "label/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67673,6 +70404,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67682,20 +70415,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.12/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.12/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label's name, description, or color was changed. - */ "label/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67716,6 +70445,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67725,18 +70456,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.12/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.12/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A GitHub user accepted an invitation to a repository. - */ "member/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67757,6 +70486,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67766,18 +70497,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.12/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.12/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description Permissions were changed for a collaborator on a repository. - */ "member/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67798,6 +70527,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67807,18 +70538,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.12/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.12/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A collaborator was removed from a repository. - */ "member/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67839,6 +70568,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67848,18 +70579,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.12/rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was added to a team. - */ "membership/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67880,6 +70609,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67889,18 +70620,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.12/rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was removed from a team. - */ "membership/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67921,6 +70650,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67930,18 +70661,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a webhook itself. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. - * @description The webhook was deleted. - */ "meta/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -67962,6 +70691,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -67971,20 +70702,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.12/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.12/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was closed. - */ "milestone/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68005,6 +70732,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68014,20 +70743,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.12/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.12/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was created. - */ "milestone/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68048,6 +70773,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68057,20 +70784,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.12/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.12/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was deleted. - */ "milestone/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68091,6 +70814,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68100,20 +70825,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.12/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.12/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was edited. - */ "milestone/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68134,6 +70855,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68143,20 +70866,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.12/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.12/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was opened. - */ "milestone/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68177,6 +70896,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68186,20 +70907,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.12/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.12/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization was deleted. - */ "organization/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68220,6 +70937,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68229,20 +70948,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.12/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.12/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member accepted an invitation to join an organization. - */ "organization/member-added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68263,6 +70978,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68272,20 +70989,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.12/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.12/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was invited to join the organization. - */ "organization/member-invited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68306,6 +71019,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68315,20 +71030,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.12/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.12/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was removed from the organization. - */ "organization/member-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68349,6 +71060,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68358,20 +71071,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.12/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.12/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name of an organization was changed. - */ "organization/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68392,6 +71101,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68401,18 +71112,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.12/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.12/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A package was published to a registry. - */ "package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68433,6 +71142,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68442,18 +71153,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.12/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.12/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A previously published package was updated. - */ "package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68474,6 +71183,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68483,17 +71194,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.12/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.12/rest/pages)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ "page-build": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68514,6 +71224,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68523,20 +71235,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.12/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was approved. - */ "personal-access-token-request/approved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68553,6 +71261,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68562,20 +71272,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.12/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was cancelled by the requester. - */ "personal-access-token-request/cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68592,6 +71298,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68601,20 +71309,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.12/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was created. - */ "personal-access-token-request/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68631,6 +71335,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68640,20 +71346,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.12/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * **Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was denied. - */ "personal-access-token-request/denied": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68670,6 +71372,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68679,13 +71383,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ ping: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68706,6 +71413,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68715,22 +71424,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note in a project (classic) was converted to an issue. - */ "project-card/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68751,6 +71454,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68760,22 +71465,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card was added to a project (classic). - */ "project-card/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68796,6 +71495,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68805,22 +71506,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a project (classic) was deleted. - */ "project-card/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68841,6 +71536,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68850,22 +71547,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note on a project (classic) was edited. - */ "project-card/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68886,6 +71577,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68895,22 +71588,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a project (classic) was moved to another column or to another position in its column. - */ "project-card/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68931,6 +71618,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68940,22 +71629,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A project (classic) was closed. - */ "project/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -68976,6 +71659,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -68985,22 +71670,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was added to a project (classic). - */ "project-column/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69021,6 +71700,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69030,22 +71711,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was deleted from a project (classic). - */ "project-column/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69066,6 +71741,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69075,22 +71752,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name of a column on a project (classic) was changed. - */ "project-column/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69111,6 +71782,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69120,22 +71793,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was moved to a new position on a project (classic). - */ "project-column/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69156,6 +71823,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69165,22 +71834,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A project (classic) was created. - */ "project/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69201,6 +71864,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69210,22 +71875,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A project (classic) was deleted. - */ "project/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69246,6 +71905,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69255,22 +71916,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name or description of a project (classic) was changed. - */ "project/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69291,6 +71946,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69300,22 +71957,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.12/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.12/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A project (classic) was closed. - */ "project/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69336,6 +71987,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69345,22 +71998,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was closed. - */ "projects-v2/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69381,6 +72028,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69390,22 +72039,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was created. - */ "projects-v2/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69426,6 +72069,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69435,22 +72080,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was deleted. - */ "projects-v2/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69471,6 +72110,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69480,22 +72121,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The title, description, or README of a project in the organization was changed. - */ "projects-v2/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69516,6 +72151,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69525,22 +72162,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - */ "projects-v2-item/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69561,6 +72192,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69570,22 +72203,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A draft issue in an organization project was converted to an issue. - */ "projects-v2-item/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69606,6 +72233,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69615,22 +72244,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item was added to a project in the organization. - */ "projects-v2-item/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69651,6 +72274,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69660,22 +72285,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item was deleted from a project in the organization. - */ "projects-v2-item/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69696,6 +72315,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69705,22 +72326,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. - */ "projects-v2-item/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69741,6 +72356,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69750,22 +72367,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. - */ "projects-v2-item/reordered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69786,6 +72397,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69795,22 +72408,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - */ "projects-v2-item/restored": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69831,6 +72438,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69840,22 +72449,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.12/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * **Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was reopened. - */ "projects-v2/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69876,6 +72479,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69885,17 +72490,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.12/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ public: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69916,6 +72520,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69925,20 +72531,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was assigned to a user. - */ "pull-request/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -69959,6 +72561,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -69968,20 +72572,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70002,6 +72602,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70011,20 +72613,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70045,6 +72643,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70054,20 +72654,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. - */ "pull-request/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70088,6 +72684,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70097,20 +72695,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/converted-to-draft": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70131,6 +72725,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70140,20 +72736,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was removed from a milestone. - */ "pull-request/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70174,6 +72766,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70183,20 +72777,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The title or body of a pull request was edited, or the base branch of a pull request was changed. - */ "pull-request/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70217,6 +72807,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70226,20 +72818,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was added to a pull request. - */ "pull-request/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70260,6 +72848,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70269,20 +72859,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.12/communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70303,6 +72889,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70312,20 +72900,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was added to a milestone. - */ "pull-request/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70346,6 +72930,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70355,20 +72941,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was created - */ "pull-request/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70389,6 +72971,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70398,20 +72982,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/ready-for-review": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70432,6 +73012,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70441,20 +73023,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously closed pull request was reopened. - */ "pull-request/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70475,6 +73053,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70484,20 +73064,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.12/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was created. - */ "pull-request-review-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70518,6 +73094,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70527,20 +73105,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.12/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was deleted. - */ "pull-request-review-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70561,6 +73135,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70570,20 +73146,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.12/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The content of a comment on a pull request diff was changed. - */ "pull-request-review-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70604,6 +73176,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70613,20 +73187,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.12/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was dismissed. - */ "pull-request-review/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70647,6 +73217,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70656,20 +73228,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.12/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The body comment on a pull request review was edited. - */ "pull-request-review/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70690,6 +73258,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70699,20 +73269,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A request for review by a person or team was removed from a pull request. - */ "pull-request/review-request-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70733,6 +73299,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70742,20 +73310,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." - */ "pull-request/review-requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70776,6 +73340,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70785,20 +73351,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.12/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was submitted. - */ "pull-request-review/submitted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70819,6 +73381,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70828,20 +73392,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.12/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment thread on a pull request was marked as resolved. - */ "pull-request-review-thread/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70862,6 +73422,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70871,20 +73433,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.12/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously resolved comment thread on a pull request was marked as unresolved. - */ "pull-request-review-thread/unresolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70905,6 +73463,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70914,20 +73474,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. - */ "pull-request/synchronize": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70948,6 +73504,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -70957,20 +73515,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A user was unassigned from a pull request. - */ "pull-request/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -70991,6 +73545,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71000,20 +73556,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was removed from a pull request. - */ "pull-request/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71034,6 +73586,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71043,20 +73597,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.12/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.12/communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71077,6 +73627,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71086,21 +73638,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Note**: An event will not be created when more than three tags are pushed at once. - */ push: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71121,6 +73668,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71130,20 +73679,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.12/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.12/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * **Note**: GitHub recommends that you use the newer `package` event instead. - * @description A package was published to a registry. - */ "registry-package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71164,6 +73709,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71173,20 +73720,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.12/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.12/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * **Note**: GitHub recommends that you use the newer `package` event instead. - * @description A package that was previously published to a registry was updated. - */ "registry-package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71207,6 +73750,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71216,18 +73761,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.12/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.12/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. - */ "release/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71248,6 +73791,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71257,18 +73802,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.12/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.12/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft release was deleted. - */ "release/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71289,6 +73832,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71298,18 +73843,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.12/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.12/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-server@3.12/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." - */ "release/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71330,6 +73873,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71339,18 +73884,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.12/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.12/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. - */ "release/prereleased": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71371,6 +73914,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71380,18 +73925,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.12/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.12/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft of a release was published. - */ "release/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71412,6 +73955,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71421,18 +73966,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.12/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.12/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was published, or a pre-release was changed to a release. - */ "release/released": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71453,6 +73996,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71462,18 +74007,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.12/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.12/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release or pre-release was unpublished. - */ "release/unpublished": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71494,6 +74037,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71503,18 +74048,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." - */ "repository/anonymous-access-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71535,6 +74078,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71544,18 +74089,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." - */ "repository/anonymous-access-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71576,6 +74119,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71585,18 +74130,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was archived. - */ "repository/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71617,6 +74160,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71626,18 +74171,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was created. - */ "repository/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71658,6 +74201,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71667,18 +74212,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. - */ "repository/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71699,6 +74242,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71708,18 +74253,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.12/rest/repos/repos#create-a-repository-dispatch-event). - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - */ "repository-dispatch/sample.collected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71740,6 +74283,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71749,18 +74294,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The topics, default branch, description, or homepage of a repository was changed. - */ "repository/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71781,6 +74324,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71790,18 +74335,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `private`. - */ "repository/privatized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71822,6 +74365,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71831,18 +74376,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `public`. - */ "repository/publicized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71863,6 +74406,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71872,18 +74417,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The name of a repository was changed. - */ "repository/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71904,6 +74447,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71913,20 +74458,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.12/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.12/rest/orgs/rules) in the REST API documentation." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. - * @description A repository ruleset was created. - */ "repository-ruleset/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71943,6 +74484,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71952,20 +74495,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.12/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.12/rest/orgs/rules) in the REST API documentation." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. - * @description A repository ruleset was deleted. - */ "repository-ruleset/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -71982,6 +74521,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -71991,20 +74532,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.12/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.12/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.12/rest/orgs/rules) in the REST API documentation." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. - * @description A repository ruleset was edited. - */ "repository-ruleset/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72021,6 +74558,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72030,18 +74569,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. - */ "repository/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72062,6 +74599,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72071,18 +74610,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.12/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.12/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A previously archived repository was unarchived. - */ "repository/unarchived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72103,6 +74640,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72112,18 +74651,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was created. - */ "repository-vulnerability-alert/create": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72144,6 +74681,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72153,18 +74692,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was dismissed. - */ "repository-vulnerability-alert/dismiss": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72185,6 +74722,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72194,18 +74733,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A previously dismissed or resolved repository vulnerability alert was reopened. - */ "repository-vulnerability-alert/reopen": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72226,6 +74763,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72235,18 +74774,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * **Note**: This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was marked as resolved. - */ "repository-vulnerability-alert/resolve": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72267,6 +74804,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72276,20 +74815,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.12/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.12/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was created. - */ "secret-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72310,6 +74845,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72319,22 +74856,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. - * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.12/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.12/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. - */ "secret-scanning-alert-location/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72355,6 +74886,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72364,20 +74897,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.12/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.12/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A previously closed secret scanning alert was reopened. - */ "secret-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72398,6 +74927,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72407,20 +74938,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.12/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.12/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was closed. - */ "secret-scanning-alert/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72441,6 +74968,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72450,20 +74979,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.12/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.12/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was marked as revoked. - */ "secret-scanning-alert/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72484,6 +75009,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72493,18 +75020,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/enterprise-server@3.12/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.12/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description A security advisory was published to the GitHub community. - */ "security-advisory/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72525,6 +75050,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72534,18 +75061,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/enterprise-server@3.12/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.12/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description The metadata or description of a security advisory was changed. - */ "security-advisory/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72566,6 +75091,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72575,18 +75102,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/enterprise-server@3.12/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.12/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.12/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description A previously published security advisory was withdrawn. - */ "security-advisory/withdrawn": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72607,6 +75132,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72616,17 +75143,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.12/code-security/getting-started/github-security-features)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ "security-and-analysis": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72647,6 +75173,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72656,20 +75184,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.12/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsorship was cancelled and the last billing cycle has ended. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72690,6 +75214,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72699,18 +75225,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.12/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. - */ "sponsorship/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72731,6 +75255,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72740,18 +75266,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.12/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. - */ "sponsorship/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72772,6 +75296,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72781,20 +75307,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.12/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/pending-cancellation": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72815,6 +75337,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72824,18 +75348,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.12/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. - */ "sponsorship/pending-tier-change": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72856,6 +75378,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72865,18 +75389,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.12/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.12/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. - */ "sponsorship/tier-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72897,6 +75419,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72906,18 +75430,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.12/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.12/rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone starred a repository. - */ "star/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72938,6 +75460,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72947,18 +75471,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.12/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.12/rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone unstarred the repository. - */ "star/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -72979,6 +75501,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -72988,17 +75512,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.12/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.12/rest/commits/statuses)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ status: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73019,6 +75542,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73028,20 +75553,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.12/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." - * - * For activity relating to teams, see the `teams` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ "team-add": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73062,6 +75583,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73071,19 +75594,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was granted access to a repository. - */ "team/added-to-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73104,6 +75624,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73113,19 +75635,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was created. - */ "team/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73146,6 +75665,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73155,19 +75676,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was deleted. - */ "team/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73188,6 +75706,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73197,19 +75717,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name, description, or visibility of a team was changed. - */ "team/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73230,6 +75747,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73239,19 +75758,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.12/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team's access to a repository was removed. - */ "team/removed-from-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73272,6 +75788,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73281,16 +75799,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to user accounts in an enterprise. - * @description A user account was added to the enterprise. - */ "user/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73311,6 +75829,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73320,16 +75840,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to user accounts in an enterprise. - * @description A user account was removed from the enterprise. - */ "user/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73350,6 +75870,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73359,18 +75881,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-server@3.12/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-server@3.12/rest/activity/watching)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone started watching the repository. - */ "watch/started": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73391,6 +75911,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73400,19 +75922,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.12/actions/managing-workflow-runs/manually-running-a-workflow)." - * - * For activity relating to workflow runs, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ "workflow-dispatch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73433,6 +75952,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73442,20 +75963,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.12/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.12/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. - */ "workflow-job/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73476,6 +75993,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73485,20 +76004,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.12/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.12/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run started processing on a runner. - */ "workflow-job/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73519,6 +76034,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73528,20 +76045,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.12/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.12/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run was created. - */ "workflow-job/queued": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73562,6 +76075,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73571,20 +76086,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.12/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.12/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run was created and is waiting for approvals. - */ "workflow-job/waiting": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73605,6 +76116,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73614,20 +76127,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.12/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.12/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. - */ "workflow-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73648,6 +76157,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73657,20 +76168,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.12/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.12/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run started processing on a runner. - */ "workflow-run/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73691,6 +76198,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73700,20 +76209,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.12/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.12/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.12/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run was triggered. - */ "workflow-run/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -73734,6 +76239,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -73743,7 +76250,10 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; From bb4edf003227615e6ad846f9c57f951205ea0f96 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Tue, 27 Aug 2024 17:34:31 -0400 Subject: [PATCH 09/10] build: update openapi-typescript --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7c60139..534de2d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "deep-equal": "^2.0.5", "github-enterprise-server-versions": "^2.0.1", "lodash": "^4.17.21", - "openapi-typescript": "^7.0.0-next.7", + "openapi-typescript": "^7.3.0", "prettier": "^3.0.0", "semantic-release-plugin-update-version-in-files": "^1.1.0" }, diff --git a/package.json b/package.json index e686b5d..2967fd8 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "deep-equal": "^2.0.5", "github-enterprise-server-versions": "^2.0.1", "lodash": "^4.17.21", - "openapi-typescript": "^7.0.0-next.7", + "openapi-typescript": "^7.0.0", "prettier": "^3.0.0", "semantic-release-plugin-update-version-in-files": "^1.1.0" }, From c6eb0f685d0061b0356ba2c18e6d074707e528cf Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Wed, 20 Nov 2024 18:02:48 -0500 Subject: [PATCH 10/10] maint: merge --- .../types.d.ts | 9300 +++++++++++------ .../package.json | 2 +- 2 files changed, 5876 insertions(+), 3426 deletions(-) diff --git a/packages/openapi-webhooks-types-ghes-3.13/types.d.ts b/packages/openapi-webhooks-types-ghes-3.13/types.d.ts index 5b214d2..fbab8c5 100644 --- a/packages/openapi-webhooks-types-ghes-3.13/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.13/types.d.ts @@ -3,2588 +3,5567 @@ * Do not make direct changes to the file. */ -/** OneOf type helpers */ -type Without = { [P in Exclude]?: never }; -type XOR = T | U extends object - ? (Without & U) | (Without & T) - : T | U; -type OneOf = T extends [infer Only] - ? Only - : T extends [infer A, infer B, ...infer Rest] - ? OneOf<[XOR, ...Rest]> - : never; - export type paths = Record; - export interface webhooks { "branch-protection-configuration-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is a change to branch protection configurations for a repository. - * For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." - * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)" in the REST API documentation. + * For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." + * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description All branch protections were disabled for a repository. */ post: operations["branch-protection-configuration/disabled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-configuration-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is a change to branch protection configurations for a repository. - * For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." - * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)" in the REST API documentation. + * For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." + * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description All branch protections were enabled for a repository. */ post: operations["branch-protection-configuration/enabled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was created. */ post: operations["branch-protection-rule/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was deleted. */ post: operations["branch-protection-rule/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "branch-protection-rule-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. * @description A branch protection rule was edited. */ post: operations["branch-protection-rule/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "cache-sync": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](https://docs.github.com/enterprise-server@3.13/admin/enterprise-management/caching-repositories/about-repository-caching)." */ post: operations["cache-sync"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.13/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * > [!NOTE] - * > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * > [!NOTE] + * > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run was completed, and a conclusion is available. */ post: operations["check-run/completed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.13/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * > [!NOTE] - * > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * > [!NOTE] + * > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A new check run was created. */ post: operations["check-run/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-requested-action": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.13/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * > [!NOTE] - * > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * > [!NOTE] + * > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.13/developers/apps/guides/creating-ci-tests-with-the-checks-api)." */ post: operations["check-run/requested-action"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-run-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.13/rest/checks/runs)" in the REST API documentation. * - * For activity relating to check suites, use the `check-suite` event. + * For activity relating to check suites, use the `check-suite` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. * - * > [!NOTE] - * > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * > [!NOTE] + * > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. */ post: operations["check-run/rerequested"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.13/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * > [!NOTE] - * > The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * > [!NOTE] + * > The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description All check runs in a check suite have completed, and a conclusion is available. */ post: operations["check-suite/completed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.13/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * > [!NOTE] - * > The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * > [!NOTE] + * > The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.13/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-server@3.13/rest/checks/runs#create-a-check-run)" in the REST API documentation. */ post: operations["check-suite/requested"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "check-suite-rerequested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.13/rest/checks/suites)" in the REST API documentation. * - * For activity relating to check runs, use the `check_run` event. + * For activity relating to check runs, use the `check_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. + * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. * - * > [!NOTE] - * > The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. + * > [!NOTE] + * > The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.13/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-server@3.13/rest/checks/suites#create-a-check-suite)" in the REST API documentation. */ post: operations["check-suite/rerequested"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-appeared-in-branch": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. */ post: operations["code-scanning-alert/appeared-in-branch"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-closed-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone closed a code scanning alert. */ post: operations["code-scanning-alert/closed-by-user"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was created in a repository. */ post: operations["code-scanning-alert/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A code scanning alert was fixed in a branch by a commit. */ post: operations["code-scanning-alert/fixed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description A previously fixed code scanning alert reappeared in a branch. */ post: operations["code-scanning-alert/reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "code-scanning-alert-reopened-by-user": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. * @description Someone reopened a code scanning alert. */ post: operations["code-scanning-alert/reopened-by-user"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "commit-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-server@3.13/rest/commits/comments)" in the REST API documentation. * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. + * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description Someone commented on a commit. */ post: operations["commit-comment/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; create: { - /** - * This event occurs when a Git branch or tag is created. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when a Git branch or tag is created. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ + * **Notes**: + * - This event will not occur when more than three tags are created at once. + * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. */ post: operations["create"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; delete: { - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including + * branch and tag deletions, use the [`push`](#push) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * > [!NOTE] - * > This event will not occur when more than three tags are deleted at once. - */ + * > [!NOTE] + * > This event will not occur when more than three tags are deleted at once. */ post: operations["delete"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-auto-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was automatically closed by a Dependabot auto-triage rule. */ post: operations["dependabot-alert/auto-dismissed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-auto-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed. */ post: operations["dependabot-alert/auto-reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-fixed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reintroduced": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "dependabot-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to Dependabot alerts. * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. + * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * - * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for Dependabot alerts are currently in beta and subject to change. * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.13/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.13/rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was created. */ post: operations["deploy-key/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deploy-key-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.13/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.13/rest/deploy-keys)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deploy key was deleted. */ post: operations["deploy-key/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment status, use the `deployment_status` event. + * For activity relating to deployment status, use the `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment was created. */ post: operations["deployment/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-protection-rule-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment protection rules. For more information, see "[Using environments for deployment](https://docs.github.com/enterprise-server@3.13/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules)." For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.13/rest/deployments/environments). * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment protection rule was requested for an environment. */ post: operations["deployment-protection-rule/requested"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-approved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was approved. */ post: operations["deployment-review/approved"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-rejected": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was rejected. */ post: operations["deployment-review/rejected"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. + * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * @description A deployment review was requested. */ post: operations["deployment-review/requested"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "deployment-status-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)" in the REST API documentation. * - * For activity relating to deployment creation, use the `deployment` event. + * For activity relating to deployment creation, use the `deployment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. * - * > [!NOTE] - * > A webhook event is not fired for deployment statuses with an `inactive` state. + * > [!NOTE] + * > A webhook event is not fired for deployment statuses with an `inactive` state. * @description A new deployment status was created. */ post: operations["deployment-status/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-answered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-category-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was closed. */ post: operations["discussion/closed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. + * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was created. */ post: operations["discussion/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was deleted. */ post: operations["discussion/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was locked. */ post: operations["discussion/locked"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was pinned. */ post: operations["discussion/pinned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was reopened. */ post: operations["discussion/reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unanswered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "discussion-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. + * For activity relating to a comment on a discussion, use the `discussion_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > [!NOTE] + * > Webhook events for GitHub Discussions are currently in beta and subject to change. * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "enterprise-anonymous-access-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.13/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was disabled. */ post: operations["enterprise/anonymous-access-disabled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "enterprise-anonymous-access-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.13/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." * @description Anonymous Git read access was enabled. */ post: operations["enterprise/anonymous-access-enabled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; fork: { - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.13/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.13/rest/repos/forks)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.13/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.13/rest/repos/forks)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["fork"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "github-app-authorization-revoked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. + * A GitHub App receives this webhook by default and cannot unsubscribe from this event. * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.13/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." + * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.13/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." * @description Someone revoked their authorization of a GitHub App. */ post: operations["github-app-authorization/revoked"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; gollum: { - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.13/communities/documenting-your-project-with-wikis/about-wikis)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.13/communities/documenting-your-project-with-wikis/about-wikis)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["gollum"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. * @description Someone installed a GitHub App on a user or organization account. */ post: operations["installation/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. * @description Someone uninstalled a GitHub App from their user or organization account. */ post: operations["installation/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-new-permissions-accepted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. * @description Someone granted new permissions to a GitHub App. */ post: operations["installation/new-permissions-accepted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. * @description A GitHub App installation was granted access to one or more repositories. */ post: operations["installation-repositories/added"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-repositories-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. * @description Access to one or more repositories was revoked for a GitHub App installation. */ post: operations["installation-repositories/removed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-suspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. * @description Someone blocked access by a GitHub App to their user or organization account. */ post: operations["installation/suspend"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-target-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. * @description Somebody renamed the user or organization account that a GitHub App is installed on. */ post: operations["installation-target/renamed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "installation-unsuspend": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. + * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. */ post: operations["installation/unsuspend"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.13/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.13/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.13/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was created. */ post: operations["issue-comment/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.13/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.13/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.13/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was deleted. */ post: operations["issue-comment/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issue-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.13/rest/issues/comments)" in the REST API documentation. * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.13/rest/guides/working-with-comments)." + * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.13/rest/guides/working-with-comments)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A comment on an issue or pull request was edited. */ post: operations["issue-comment/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was assigned to a user. */ post: operations["issues/assigned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was closed. */ post: operations["issues/closed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was deleted. */ post: operations["issues/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was removed from a milestone. */ post: operations["issues/demilestoned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description The title or body on an issue was edited. */ post: operations["issues/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was added to an issue. */ post: operations["issues/labeled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.13/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/locked"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was added to a milestone. */ post: operations["issues/milestoned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. */ post: operations["issues/opened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-pinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/pinned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A closed issue was reopened. */ post: operations["issues/reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." */ post: operations["issues/transferred"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A user was unassigned from an issue. */ post: operations["issues/unassigned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description A label was removed from an issue. */ post: operations["issues/unlabeled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.13/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["issues/unlocked"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "issues-unpinned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. * - * For activity relating to a comment on an issue, use the `issue_comment` event. + * For activity relating to a comment on an issue, use the `issue_comment` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." */ post: operations["issues/unpinned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.13/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was created. */ post: operations["label/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.13/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label was deleted. */ post: operations["label/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "label-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.13/rest/issues/labels)" in the REST API documentation. * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. + * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A label's name, description, or color was changed. */ post: operations["label/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A GitHub user accepted an invitation to a repository. */ post: operations["member/added"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description Permissions were changed for a collaborator on a repository. */ post: operations["member/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A collaborator was removed from a repository. */ post: operations["member/removed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.13/rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was added to a team. */ post: operations["membership/added"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "membership-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.13/rest/teams/members)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization member was removed from a team. */ post: operations["membership/removed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "meta-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a webhook itself. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. * @description The webhook was deleted. */ post: operations["meta/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was closed. */ post: operations["milestone/closed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was created. */ post: operations["milestone/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was deleted. */ post: operations["milestone/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was edited. */ post: operations["milestone/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "milestone-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)" in the REST API documentation. * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. + * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. * @description A milestone was opened. */ post: operations["milestone/opened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description An organization was deleted. */ post: operations["organization/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-added": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member accepted an invitation to join an organization. */ post: operations["organization/member-added"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-invited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was invited to join the organization. */ post: operations["organization/member-invited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-member-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A member was removed from the organization. */ post: operations["organization/member-removed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "organization-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)" in the REST API documentation. * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. + * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name of an organization was changed. */ post: operations["organization/renamed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.13/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A package was published to a registry. */ post: operations["package/published"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.13/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * @description A previously published package was updated. */ post: operations["package/updated"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "page-build": { - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.13/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.13/rest/pages)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.13/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.13/rest/pages)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. */ post: operations["page-build"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-approved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * > [!NOTE] - * > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * > [!NOTE] + * > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was approved. */ post: operations["personal-access-token-request/approved"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * > [!NOTE] - * > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * > [!NOTE] + * > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was cancelled by the requester. */ post: operations["personal-access-token-request/cancelled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * > [!NOTE] - * > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * > [!NOTE] + * > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was created. */ post: operations["personal-access-token-request/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "personal-access-token-request-denied": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * - * > [!NOTE] - * > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * > [!NOTE] + * > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was denied. */ post: operations["personal-access-token-request/denied"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; ping: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ post: operations["ping"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. + * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note in a project (classic) was converted to an issue. */ post: operations["project-card/converted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. + * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card was added to a project (classic). */ post: operations["project-card/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. + * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a project (classic) was deleted. */ post: operations["project-card/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. + * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A note on a project (classic) was edited. */ post: operations["project-card/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-card-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. + * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A card on a project (classic) was moved to another column or to another position in its column. */ post: operations["project-card/moved"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. + * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A project (classic) was closed. */ post: operations["project/closed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. + * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was added to a project (classic). */ post: operations["project-column/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. + * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was deleted from a project (classic). */ post: operations["project-column/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. + * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name of a column on a project (classic) was changed. */ post: operations["project-column/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-column-moved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. * - * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. + * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A column was moved to a new position on a project (classic). */ post: operations["project-column/moved"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. + * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A project (classic) was created. */ post: operations["project/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. + * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A project (classic) was deleted. */ post: operations["project/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. + * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description The name or description of a project (classic) was changed. */ post: operations["project/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "project-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. + * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. + * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. * @description A project (classic) was closed. */ post: operations["project/reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > [!NOTE] + * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was closed. */ post: operations["projects-v2/closed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > [!NOTE] + * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was created. */ post: operations["projects-v2/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > [!NOTE] + * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was deleted. */ post: operations["projects-v2/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > [!NOTE] + * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The title, description, or README of a project in the organization was changed. */ post: operations["projects-v2/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > [!NOTE] + * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/archived"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-converted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > [!NOTE] + * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A draft issue in an organization project was converted to an issue. */ post: operations["projects-v2-item/converted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > [!NOTE] + * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was added to a project in the organization. */ post: operations["projects-v2-item/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > [!NOTE] + * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was deleted from a project in the organization. */ post: operations["projects-v2-item/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > [!NOTE] + * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. */ post: operations["projects-v2-item/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-reordered": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > [!NOTE] + * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. */ post: operations["projects-v2-item/reordered"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-item-restored": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item). * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > [!NOTE] + * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/restored"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "projects-v2-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2). * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. + * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > [!NOTE] + * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was reopened. */ post: operations["projects-v2/reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; public: { - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.13/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.13/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. */ post: operations["public"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-assigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was assigned to a user. */ post: operations["pull-request/assigned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-disabled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-auto-merge-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." */ post: operations["pull-request/auto-merge-enabled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-closed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. */ post: operations["pull-request/closed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-converted-to-draft": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/converted-to-draft"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-demilestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was removed from a milestone. */ post: operations["pull-request/demilestoned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The title or body of a pull request was edited, or the base branch of a pull request was changed. */ post: operations["pull-request/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-labeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was added to a pull request. */ post: operations["pull-request/labeled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-locked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.13/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/locked"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-milestoned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was added to a milestone. */ post: operations["pull-request/milestoned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-opened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request was created */ post: operations["pull-request/opened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-ready-for-review": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." */ post: operations["pull-request/ready-for-review"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously closed pull request was reopened. */ post: operations["pull-request/reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was created. */ post: operations["pull-request-review-comment/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment on a pull request diff was deleted. */ post: operations["pull-request-review-comment/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-comment-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The content of a comment on a pull request diff was changed. */ post: operations["pull-request-review-comment/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-dismissed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was dismissed. */ post: operations["pull-request-review/dismissed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description The body comment on a pull request review was edited. */ post: operations["pull-request-review/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-request-removed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A request for review by a person or team was removed from a pull request. */ post: operations["pull-request/review-request-removed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." */ post: operations["pull-request/review-requested"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-submitted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A review on a pull request was submitted. */ post: operations["pull-request-review/submitted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A comment thread on a pull request was marked as resolved. */ post: operations["pull-request-review-thread/resolved"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-review-thread-unresolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)" in the REST API documentation. * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. + * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A previously resolved comment thread on a pull request was marked as unresolved. */ post: operations["pull-request-review-thread/unresolved"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-synchronize": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. */ post: operations["pull-request/synchronize"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unassigned": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A user was unassigned from a pull request. */ post: operations["pull-request/unassigned"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlabeled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description A label was removed from a pull request. */ post: operations["pull-request/unlabeled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "pull-request-unlocked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. + * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.13/communities/moderating-comments-and-conversations/locking-conversations)." */ post: operations["pull-request/unlocked"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; push: { - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, + * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch + * and tag deletions, use the [`delete`](#delete) webhook event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * - * > [!NOTE] - * > Events will not be created if more than 5000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once. - */ + * > [!NOTE] + * > Events will not be created if more than 5000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once. */ post: operations["push"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.13/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * > [!NOTE] - * > GitHub recommends that you use the newer `package` event instead. + * > [!NOTE] + * > GitHub recommends that you use the newer `package` event instead. * @description A package was published to a registry. */ post: operations["registry-package/published"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "registry-package-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.13/rest/packages)" in the REST API documentation. * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. + * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. * - * > [!NOTE] - * > GitHub recommends that you use the newer `package` event instead. + * > [!NOTE] + * > GitHub recommends that you use the newer `package` event instead. * @description A package that was previously published to a registry was updated. */ post: operations["registry-package/updated"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. */ post: operations["release/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft release was deleted. */ post: operations["release/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." */ post: operations["release/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-prereleased": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. */ post: operations["release/prereleased"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release, pre-release, or draft of a release was published. */ post: operations["release/published"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-released": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release was published, or a pre-release was changed to a release. */ post: operations["release/released"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "release-unpublished": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. * @description A release or pre-release was unpublished. */ post: operations["release/unpublished"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-anonymous-access-disabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-disabled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-anonymous-access-enabled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." */ post: operations["repository/anonymous-access-enabled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-archived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was archived. */ post: operations["repository/archived"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was created. */ post: operations["repository/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. */ post: operations["repository/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-dispatch-sample.collected": { - /** - * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.13/rest/repos/repos#create-a-repository-dispatch-event). In the payload, the `action` will be the `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.13/rest/repos/repos#create-a-repository-dispatch-event). In the payload, the `action` will be the `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["repository-dispatch/sample.collected"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The topics, default branch, description, or homepage of a repository was changed. */ post: operations["repository/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-privatized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `private`. */ post: operations["repository/privatized"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-publicized": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The visibility of a repository was changed to `public`. */ post: operations["repository/publicized"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-renamed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description The name of a repository was changed. */ post: operations["repository/renamed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-ruleset-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.13/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.13/rest/orgs/rules) in the REST API documentation." + * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." + * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.13/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.13/rest/orgs/rules) in the REST API documentation." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. * @description A repository ruleset was created. */ post: operations["repository-ruleset/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-ruleset-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.13/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.13/rest/orgs/rules) in the REST API documentation." + * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." + * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.13/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.13/rest/orgs/rules) in the REST API documentation." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. * @description A repository ruleset was deleted. */ post: operations["repository-ruleset/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-ruleset-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.13/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.13/rest/orgs/rules) in the REST API documentation." + * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." + * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.13/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.13/rest/orgs/rules) in the REST API documentation." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. * @description A repository ruleset was edited. */ post: operations["repository-ruleset/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-transferred": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. */ post: operations["repository/transferred"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-unarchived": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description A previously archived repository was unarchived. */ post: operations["repository/unarchived"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-create": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * > [!WARNING] - * > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. + * > [!WARNING] + * > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was created. */ post: operations["repository-vulnerability-alert/create"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-dismiss": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * > [!WARNING] - * > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. + * > [!WARNING] + * > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was dismissed. */ post: operations["repository-vulnerability-alert/dismiss"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-reopen": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * > [!WARNING] - * > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. + * > [!WARNING] + * > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. * @description A previously dismissed or resolved repository vulnerability alert was reopened. */ post: operations["repository-vulnerability-alert/reopen"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "repository-vulnerability-alert-resolve": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a security vulnerability alert in a repository. * - * > [!WARNING] - * > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. + * > [!WARNING] + * > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was marked as resolved. */ post: operations["repository-vulnerability-alert/resolve"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was created. */ post: operations["secret-scanning-alert/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-location-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)" in the REST API documentation. + * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. + * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. */ post: operations["secret-scanning-alert-location/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-reopened": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A previously closed secret scanning alert was reopened. */ post: operations["secret-scanning-alert/reopened"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-resolved": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was closed. */ post: operations["secret-scanning-alert/resolved"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "secret-scanning-alert-validated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)" in the REST API documentation. * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. * @description A secret scanning alert was validated. */ post: operations["secret-scanning-alert/validated"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-published": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/enterprise-server@3.13/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.13/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description A security advisory was published to the GitHub community. */ post: operations["security-advisory/published"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-updated": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/enterprise-server@3.13/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.13/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description The metadata or description of a security advisory was changed. */ post: operations["security-advisory/updated"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-advisory-withdrawn": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/enterprise-server@3.13/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.13/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#securityadvisory). * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." * @description A previously published security advisory was withdrawn. */ post: operations["security-advisory/withdrawn"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "security-and-analysis": { - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.13/code-security/getting-started/github-security-features)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.13/code-security/getting-started/github-security-features)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. */ post: operations["security-and-analysis"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-cancelled": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsorship was cancelled and the last billing cycle has ended. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/cancelled"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. */ post: operations["sponsorship/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. */ post: operations["sponsorship/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-cancellation": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. + * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. */ post: operations["sponsorship/pending-cancellation"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-pending-tier-change": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. */ post: operations["sponsorship/pending-tier-change"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "sponsorship-tier-changed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship). * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." + * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. */ post: operations["sponsorship/tier-changed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.13/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.13/rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone starred a repository. */ post: operations["star/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "star-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.13/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.13/rest/activity/starring)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone unstarred the repository. */ post: operations["star/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; status: { - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.13/rest/commits/statuses)" in the REST API documentation. + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.13/rest/commits/statuses)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. */ post: operations["status"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-add": { - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.13/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when a team is added to a repository. + * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.13/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." * - * For activity relating to teams, see the `teams` event. + * For activity relating to teams, see the `teams` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. */ post: operations["team-add"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-added-to-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was granted access to a repository. */ post: operations["team/added-to-repository"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was created. */ post: operations["team/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team was deleted. */ post: operations["team/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-edited": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description The name, description, or visibility of a team was changed. */ post: operations["team/edited"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "team-removed-from-repository": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." + * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. * @description A team's access to a repository was removed. */ post: operations["team/removed-from-repository"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "user-created": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was added to the enterprise. */ post: operations["user/created"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "user-deleted": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to user accounts in an enterprise. * @description A user account was removed from the enterprise. */ post: operations["user/deleted"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "watch-started": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-server@3.13/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-server@3.13/rest/activity/watching)" in the REST API documentation. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. * @description Someone started watching the repository. */ post: operations["watch/started"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-dispatch": { - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.13/actions/managing-workflow-runs/manually-running-a-workflow)." + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.13/actions/managing-workflow-runs/manually-running-a-workflow)." * - * For activity relating to workflow runs, use the `workflow_run` event. + * For activity relating to workflow runs, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ + * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. */ post: operations["workflow-dispatch"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.13/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. */ post: operations["workflow-job/completed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.13/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run started processing on a runner. */ post: operations["workflow-job/in-progress"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-queued": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.13/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run was created. */ post: operations["workflow-job/queued"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-job-waiting": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.13/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs)" in the REST API documentation. * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. + * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A job in a workflow run was created and is waiting for approvals. */ post: operations["workflow-job/waiting"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-completed": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.13/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. */ post: operations["workflow-run/completed"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-in-progress": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.13/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run started processing on a runner. */ post: operations["workflow-run/in-progress"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; "workflow-run-requested": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; /** * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.13/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs)" in the REST API documentation. * - * For activity relating to a job in a workflow run, use the `workflow_job` event. + * For activity relating to a job in a workflow run, use the `workflow_job` event. * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. + * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. * @description A workflow run was triggered. */ post: operations["workflow-run/requested"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; }; } - export interface components { schemas: { /** branch protection configuration disabled event */ @@ -2600,8 +5579,8 @@ export interface components { /** * Enterprise * @description An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured - * on an enterprise account or an organization that's part of an enterprise account. For more information, - * see "[About enterprise accounts](https://docs.github.com/enterprise-server@3.13/admin/overview/about-enterprise-accounts)." + * on an enterprise account or an organization that's part of an enterprise account. For more information, + * see "[About enterprise accounts](https://docs.github.com/enterprise-server@3.13/admin/overview/about-enterprise-accounts)." */ "enterprise-webhooks": { /** @description A short description of the enterprise. */ @@ -2630,8 +5609,8 @@ export interface components { /** * Simple Installation * @description The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured - * for and sent to a GitHub App. For more information, - * see "[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-server@3.13/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." + * for and sent to a GitHub App. For more information, + * see "[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-server@3.13/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps)." */ "simple-installation": { /** @description The ID of the installation. */ @@ -2642,7 +5621,7 @@ export interface components { /** * Organization Simple * @description A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an - * organization, or when the event occurs from activity in a repository owned by an organization. + * organization, or when the event occurs from activity in a repository owned by an organization. */ "organization-simple-webhooks": { login: string; @@ -2664,7 +5643,7 @@ export interface components { /** * Repository * @description The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property - * when the event occurs from activity in a repository. + * when the event occurs from activity in a repository. */ "repository-webhooks": { /** @@ -2933,34 +5912,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -2998,34 +5977,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -3363,9 +6342,9 @@ export interface components { /** * @description The set of permissions for the GitHub app * @example { - * "issues": "read", - * "deployments": "write" - * } + * "issues": "read", + * "deployments": "write" + * } */ permissions: { issues?: string; @@ -3373,7 +6352,8 @@ export interface components { metadata?: string; contents?: string; deployments?: string; - [key: string]: string | undefined; + } & { + [key: string]: string; }; /** @description The list of events for the GitHub app */ events: string[]; @@ -5427,10 +8407,10 @@ export interface components { * @description The state of the Dependabot alert. * @enum {string} */ - state: "auto_dismissed" | "dismissed" | "fixed" | "open"; + readonly state: "auto_dismissed" | "dismissed" | "fixed" | "open"; /** @description Details for the vulnerable dependency. */ - dependency: { - readonly package?: components["schemas"]["dependabot-alert-package"]; + readonly dependency: { + package?: components["schemas"]["dependabot-alert-package"]; /** @description The full path to the dependency manifest file, relative to the root of the repository. */ readonly manifest_path?: string; /** @@ -5464,16 +8444,16 @@ export interface components { auto_dismissed_at?: components["schemas"]["alert-auto-dismissed-at"]; }; /** @description The security alert number. */ - readonly "alert-number": number; + "alert-number": number; /** @description Details for the vulnerable package. */ - readonly "dependabot-alert-package": { + "dependabot-alert-package": { /** @description The package's language or package management ecosystem. */ readonly ecosystem: string; /** @description The unique package name within its ecosystem. */ readonly name: string; }; /** @description Details for the GitHub Security Advisory. */ - readonly "dependabot-alert-security-advisory": { + "dependabot-alert-security-advisory": { /** @description The unique GitHub Security Advisory ID assigned to the advisory. */ readonly ghsa_id: string; /** @description The unique CVE ID assigned to the advisory. */ @@ -5483,7 +8463,7 @@ export interface components { /** @description A long-form Markdown-supported description of the advisory. */ readonly description: string; /** @description Vulnerable version range information for the advisory. */ - readonly vulnerabilities: readonly components["schemas"]["dependabot-alert-security-vulnerability"][]; + readonly vulnerabilities: components["schemas"]["dependabot-alert-security-vulnerability"][]; /** * @description The severity of the advisory. * @enum {string} @@ -5497,14 +8477,14 @@ export interface components { readonly vector_string: string | null; }; /** @description Details for the advisory pertaining to Common Weakness Enumeration. */ - readonly cwes: readonly { + readonly cwes: { /** @description The unique CWE ID. */ readonly cwe_id: string; /** @description The short, plain text name of the CWE. */ readonly name: string; }[]; /** @description Values that identify this advisory among security information sources. */ - readonly identifiers: readonly { + readonly identifiers: { /** * @description The type of advisory identifier. * @enum {string} @@ -5514,7 +8494,7 @@ export interface components { readonly value: string; }[]; /** @description Links to additional advisory information. */ - readonly references: readonly { + readonly references: { /** * Format: uri * @description The URL of the reference. @@ -5538,8 +8518,8 @@ export interface components { readonly withdrawn_at: string | null; }; /** @description Details pertaining to one vulnerable version range for the advisory. */ - readonly "dependabot-alert-security-vulnerability": { - readonly package: components["schemas"]["dependabot-alert-package"]; + "dependabot-alert-security-vulnerability": { + package: components["schemas"]["dependabot-alert-package"]; /** * @description The severity of the vulnerability. * @enum {string} @@ -5557,37 +8537,37 @@ export interface components { * Format: uri * @description The REST API URL of the alert resource. */ - readonly "alert-url": string; + "alert-url": string; /** * Format: uri * @description The GitHub URL of the alert resource. */ - readonly "alert-html-url": string; + "alert-html-url": string; /** * Format: date-time * @description The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-created-at": string; + "alert-created-at": string; /** * Format: date-time * @description The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-updated-at": string; + "alert-updated-at": string; /** * Format: date-time * @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-dismissed-at": string | null; + "alert-dismissed-at": string | null; /** * Format: date-time * @description The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-fixed-at": string | null; + "alert-fixed-at": string | null; /** * Format: date-time * @description The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-auto-dismissed-at": string | null; + "alert-auto-dismissed-at": string | null; /** Dependabot alert auto-reopened event */ "webhook-dependabot-alert-auto-reopened": { /** @enum {string} */ @@ -6299,14 +9279,11 @@ export interface components { ref: string; /** @description Parameter to specify a task to execute */ task: string; - payload: OneOf< - [ - { + payload: + | { [key: string]: unknown; - }, - string, - ] - >; + } + | string; original_environment?: string; /** @description Name for the target deployment environment. */ environment: string; @@ -8080,7 +11057,8 @@ export interface components { id: number; node_id: string; original_environment: string; - payload: string | Record | null; + payload: (null | Record) & + (string | Record); /** * App * @description GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. @@ -9019,8 +11997,8 @@ export interface components { repository_url: string; /** * @description The current state of the discussion. - * `converting` means that the discussion is being converted from an issue. - * `transferring` means that the discussion is being transferred from another repository. + * `converting` means that the discussion is being converted from an issue. + * `transferring` means that the discussion is being transferred from another repository. * @enum {string} */ state: "open" | "closed" | "locked" | "converting" | "transferring"; @@ -9634,7 +12612,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -9828,11 +12806,15 @@ export interface components { /** @description The ID of the installation. */ id: number; account: - | null | ( - | components["schemas"]["simple-user"] - | components["schemas"]["enterprise"] - ); + | null + | ( + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"] + ) + ) + | components["schemas"]["simple-user"] + | components["schemas"]["enterprise"]; /** * @description Describe whether all repositories have been selected or there's a selection involved * @enum {string} @@ -9895,11 +12877,11 @@ export interface components { * App Permissions * @description The permissions granted to the user access token. * @example { - * "contents": "read", - * "issues": "read", - * "deployments": "write", - * "single_file": "read" - * } + * "contents": "read", + * "issues": "read", + * "deployments": "write", + * "single_file": "read" + * } */ "app-permissions": { /** @@ -16985,7 +19967,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -19152,7 +22134,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -20706,19 +23688,16 @@ export interface components { | { id?: number | string; name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -21901,26 +24880,21 @@ export interface components { "webhook-projects-v2-item-edited": { /** @enum {string} */ action: "edited"; - /** - * @description The changes made to the item may involve modifications in the item's fields and draft issue body. - * It includes the GraphQL node ID of the changed field. - */ - changes?: OneOf< - [ - { + /** @description The changes made to the item may involve modifications in the item's fields and draft issue body. + * It includes the GraphQL node ID of the changed field. */ + changes?: + | { field_value: { field_node_id?: string; field_type?: string; }; - }, - { + } + | { body: { from?: string | null; to?: string | null; }; - }, - ] - >; + }; installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; @@ -22320,17 +25294,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -22397,7 +25371,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -22405,9 +25379,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -22417,8 +25391,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -22667,17 +25641,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -22744,7 +25718,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -22752,9 +25726,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -22764,8 +25738,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -22988,9 +25962,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -23025,8 +25998,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -23076,9 +26049,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -23543,17 +26515,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -23620,7 +26592,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -23628,9 +26600,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -23640,8 +26612,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -23890,17 +26862,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -23967,7 +26939,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -23975,9 +26947,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -23987,8 +26959,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -24211,9 +27183,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -24248,8 +27219,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -24299,9 +27270,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -24765,17 +27735,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -24842,7 +27812,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -24850,9 +27820,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -24862,8 +27832,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -25109,17 +28079,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -25186,7 +28156,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -25194,9 +28164,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -25206,8 +28176,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -25430,9 +28400,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -25467,8 +28436,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -25518,9 +28487,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -25660,31 +28628,31 @@ export interface components { delete_branch_on_merge?: boolean; /** * @description The default value for a merge commit message. - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a squash merge commit message: - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -26061,17 +29029,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -26138,7 +29106,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -26146,17 +29114,17 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -26405,17 +29373,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -26482,7 +29450,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -26490,17 +29458,17 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -26723,9 +29691,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -26760,8 +29727,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -26811,9 +29778,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -27305,17 +30271,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -27382,7 +30348,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -27390,9 +30356,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -27402,8 +30368,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -27652,17 +30618,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -27729,7 +30695,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -27737,9 +30703,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -27749,8 +30715,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -27973,9 +30939,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -28010,8 +30975,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -28061,9 +31026,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -28526,17 +31490,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -28603,7 +31567,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -28611,9 +31575,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -28623,8 +31587,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -28873,17 +31837,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -28950,7 +31914,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -28958,9 +31922,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -28970,8 +31934,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -29194,9 +32158,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -29231,8 +32194,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -29282,9 +32245,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -29946,17 +32908,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -30023,7 +32985,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -30031,9 +32993,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -30043,8 +33005,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30286,17 +33248,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -30363,7 +33325,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -30371,9 +33333,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -30383,8 +33345,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -30562,9 +33524,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -30599,8 +33560,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -30650,9 +33611,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -31107,17 +34067,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -31184,7 +34144,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -31192,9 +34152,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -31204,8 +34164,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31447,17 +34407,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -31524,7 +34484,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -31532,9 +34492,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -31544,8 +34504,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -31723,9 +34683,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -31760,8 +34719,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -31811,9 +34770,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -32423,17 +35381,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32500,7 +35458,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32508,9 +35466,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32520,8 +35478,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -32763,17 +35721,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -32840,7 +35798,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -32848,9 +35806,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -32860,8 +35818,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33039,9 +35997,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -33076,8 +36033,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -33127,9 +36084,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -33584,17 +36540,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -33661,7 +36617,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -33669,9 +36625,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -33681,8 +36637,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -33924,17 +36880,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -34001,7 +36957,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -34009,9 +36965,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -34021,8 +36977,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -34200,9 +37156,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -34237,8 +37192,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -34288,9 +37243,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -34888,7 +37842,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -35179,7 +38133,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -35351,9 +38305,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -35388,8 +38341,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -35439,9 +38392,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -35630,9 +38582,8 @@ export interface components { } | null; }; /** pull_request review_request_removed event */ - "webhook-pull-request-review-request-removed": OneOf< - [ - { + "webhook-pull-request-review-request-removed": + | { /** @enum {string} */ action: "review_request_removed"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -35983,17 +38934,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -36060,7 +39011,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -36323,17 +39274,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -36400,7 +39351,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -36408,9 +39359,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -36420,8 +39371,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -36644,9 +39595,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -36681,8 +39631,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -36732,9 +39682,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -36882,8 +39831,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_request_removed"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -37234,17 +40183,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -37311,7 +40260,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -37319,9 +40268,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -37331,8 +40280,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37581,17 +40530,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -37658,7 +40607,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -37666,9 +40615,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -37678,8 +40627,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -37902,9 +40851,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -37939,8 +40887,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -37990,9 +40938,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -38158,13 +41105,10 @@ export interface components { url: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request review_requested event */ - "webhook-pull-request-review-requested": OneOf< - [ - { + "webhook-pull-request-review-requested": + | { /** @enum {string} */ action: "review_requested"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -38515,17 +41459,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -38592,7 +41536,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -38600,9 +41544,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -38612,8 +41556,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -38862,17 +41806,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -38939,7 +41883,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -38947,9 +41891,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -38959,8 +41903,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -39183,9 +42127,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -39220,8 +42163,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -39271,9 +42214,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -39421,8 +42363,8 @@ export interface components { url?: string; } | null; sender: components["schemas"]["simple-user-webhooks"]; - }, - { + } + | { /** @enum {string} */ action: "review_requested"; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -39773,17 +42715,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -39850,7 +42792,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -39858,9 +42800,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -39870,8 +42812,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -40120,17 +43062,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -40197,7 +43139,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -40205,9 +43147,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -40217,8 +43159,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -40441,9 +43383,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -40478,8 +43419,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -40529,9 +43470,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -40697,9 +43637,7 @@ export interface components { url?: string; }; sender: components["schemas"]["simple-user-webhooks"]; - }, - ] - >; + }; /** pull_request_review submitted event */ "webhook-pull-request-review-submitted": { /** @enum {string} */ @@ -41049,17 +43987,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41126,7 +44064,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41134,9 +44072,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -41146,8 +44084,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -41389,17 +44327,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -41466,7 +44404,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -41474,9 +44412,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -41486,8 +44424,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -41665,9 +44603,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -41702,8 +44639,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -41753,9 +44690,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -42271,7 +45207,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42569,7 +45505,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -42743,9 +45679,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -42780,8 +45715,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -42831,9 +45766,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -43501,7 +46435,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -43799,7 +46733,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -43973,9 +46907,8 @@ export interface components { number: number; /** Format: uri */ patch_url: string; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -44010,8 +46943,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -44061,9 +46994,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -44675,17 +47607,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -44752,7 +47684,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -44760,9 +47692,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -44772,8 +47704,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -45092,7 +48024,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -45100,9 +48032,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -45112,8 +48044,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -45336,9 +48268,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -45373,8 +48304,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -45424,9 +48355,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -45890,17 +48820,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -45967,7 +48897,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -45975,9 +48905,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -45987,8 +48917,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -46237,17 +49167,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -46314,7 +49244,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -46322,9 +49252,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -46334,8 +49264,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -46558,9 +49488,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -46595,8 +49524,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -46646,9 +49575,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -47112,17 +50040,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -47189,7 +50117,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -47197,9 +50125,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -47209,8 +50137,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -47529,7 +50457,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -47537,9 +50465,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -47549,8 +50477,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -47773,9 +50701,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -47810,8 +50737,8 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description: string | null; @@ -47861,9 +50788,8 @@ export interface components { * @description URL for the team */ url: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -48326,17 +51252,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -48403,7 +51329,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -48411,9 +51337,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -48423,8 +51349,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -48673,17 +51599,17 @@ export interface components { /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; @@ -48750,7 +51676,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -48758,9 +51684,9 @@ export interface components { /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: @@ -48770,8 +51696,8 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; @@ -48994,9 +51920,8 @@ export interface components { /** Format: uri */ patch_url: string; rebaseable?: boolean | null; - requested_reviewers: OneOf< - [ - { + requested_reviewers: ( + | ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; @@ -49031,8 +51956,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - } | null, - { + } | null) + | { deleted?: boolean; /** @description Description of the team */ description?: string | null; @@ -49082,9 +52007,8 @@ export interface components { * @description URL for the team */ url?: string; - }, - ] - >[]; + } + )[]; requested_teams: { deleted?: boolean; /** @description Description of the team */ @@ -49544,7 +52468,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -49667,19 +52591,23 @@ export interface components { name?: string; version?: string; npm_user?: string; - author?: string | Record | null; - bugs?: string | Record | null; + author?: (null | Record) & + (string | Record); + bugs?: (null | Record) & + (string | Record); dependencies?: Record; dev_dependencies?: Record; peer_dependencies?: Record; optional_dependencies?: Record; description?: string; - dist?: string | Record | null; + dist?: (null | Record) & + (string | Record); git_head?: string; homepage?: string; license?: string; main?: string; - repository?: string | Record | null; + repository?: (null | Record) & + (string | Record); scripts?: Record; id?: string; node_version?: string; @@ -49692,7 +52620,8 @@ export interface components { files?: string[]; bin?: Record; man?: Record; - directories?: string | Record | null; + directories?: (null | Record) & + (string | Record); os?: string[]; cpu?: string[]; readme?: string; @@ -49704,21 +52633,19 @@ export interface components { } | null; nuget_metadata?: | { - id?: string | Record | number | null; + id?: (null | Record) & + (string | Record | number); name?: string; - value?: OneOf< - [ - boolean, - string, - number, - { + value?: + | boolean + | string + | number + | { url?: string; branch?: string; commit?: string; type?: string; - }, - ] - >; + }; }[] | null; package_files: { @@ -50602,8 +53529,8 @@ export interface components { /** * @description The target of the ruleset * - * > [!NOTE] - * > The `push` target is in beta and is subject to change. + * > [!NOTE] + * > The `push` target is in beta and is subject to change. * @enum {string} */ target?: "branch" | "tag" | "push"; @@ -50619,7 +53546,7 @@ export interface components { bypass_actors?: components["schemas"]["repository-ruleset-bypass-actor"][]; /** * @description The bypass type of the user making the API request for this ruleset. This field is only returned when - * querying the repository-level endpoint. + * querying the repository-level endpoint. * @enum {string} */ current_user_can_bypass?: "always" | "pull_requests_only" | "never"; @@ -50635,11 +53562,15 @@ export interface components { }; }; conditions?: - | null | ( - | components["schemas"]["repository-ruleset-conditions"] - | components["schemas"]["org-ruleset-conditions"] - ); + | null + | ( + | components["schemas"]["repository-ruleset-conditions"] + | components["schemas"]["org-ruleset-conditions"] + ) + ) + | components["schemas"]["repository-ruleset-conditions"] + | components["schemas"]["org-ruleset-conditions"]; rules?: components["schemas"]["repository-rule"][]; /** Format: date-time */ created_at?: string; @@ -50689,6 +53620,7 @@ export interface components { /** * Organization ruleset conditions * @description Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + * */ "org-ruleset-conditions": | (components["schemas"]["repository-ruleset-conditions"] & @@ -51883,34 +54815,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -52126,34 +55058,34 @@ export interface components { /** * @description The default value for a squash merge commit title: * - * - `PR_TITLE` - default to the pull request's title. - * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + * - `PR_TITLE` - default to the pull request's title. + * - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). * @enum {string} */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** * @description The default value for a squash merge commit message: * - * - `PR_BODY` - default to the pull request's body. - * - `COMMIT_MESSAGES` - default to the branch's commit messages. - * - `BLANK` - default to a blank commit message. + * - `PR_BODY` - default to the pull request's body. + * - `COMMIT_MESSAGES` - default to the branch's commit messages. + * - `BLANK` - default to a blank commit message. * @enum {string} */ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"; /** * @description The default value for a merge commit title. * - * - `PR_TITLE` - default to the pull request's title. - * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + * - `PR_TITLE` - default to the pull request's title. + * - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). * @enum {string} */ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE"; /** * @description The default value for a merge commit message. * - * - `PR_TITLE` - default to the pull request's title. - * - `PR_BODY` - default to the pull request's body. - * - `BLANK` - default to a blank commit message. + * - `PR_TITLE` - default to the pull request's title. + * - `PR_BODY` - default to the pull request's body. + * - `BLANK` - default to a blank commit message. * @enum {string} */ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK"; @@ -52901,7 +55833,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53153,7 +56085,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53405,7 +56337,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53688,7 +56620,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -53940,7 +56872,7 @@ export interface components { public?: boolean; /** Format: uri-template */ pulls_url: string; - pushed_at: number | string | null; + pushed_at: null | number | string; /** Format: uri-template */ releases_url: string; role_name?: string | null; @@ -55742,22 +58674,11 @@ export interface components { headers: never; pathItems: never; } - export type $defs = Record; - -export type external = Record; - export interface operations { - /** - * This event occurs when there is a change to branch protection configurations for a repository. - * For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." - * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description All branch protections were disabled for a repository. - */ "branch-protection-configuration/disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -55774,6 +58695,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -55783,20 +58706,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is a change to branch protection configurations for a repository. - * For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." - * For information about using the APIs to manage branch protection rules, see "[Branch protection rule](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule)" in the GraphQL documentation or "[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description All branch protections were enabled for a repository. - */ "branch-protection-configuration/enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -55813,6 +58732,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -55822,18 +58743,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was created. - */ "branch-protection-rule/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -55854,6 +58773,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -55863,18 +58784,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was deleted. - */ "branch-protection-rule/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -55895,6 +58814,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -55904,18 +58825,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to branch protection rules. For more information, see "[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches)." For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule) or "[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - * @description A branch protection rule was edited. - */ "branch-protection-rule/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -55936,6 +58855,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -55945,13 +58866,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see "[About repository caching](https://docs.github.com/enterprise-server@3.13/admin/enterprise-management/caching-repositories/about-repository-caching)." */ "cache-sync": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -55972,6 +58896,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -55981,25 +58907,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.13/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * > [!NOTE] - * > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run was completed, and a conclusion is available. - */ "check-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56020,6 +58937,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56029,25 +58948,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.13/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * > [!NOTE] - * > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A new check run was created. - */ "check-run/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56068,6 +58978,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56077,25 +58989,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.13/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * > [!NOTE] - * > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see "[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.13/developers/apps/guides/creating-ci-tests-with-the-checks-api)." - */ "check-run/requested-action": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56116,6 +59019,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56125,25 +59030,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check run. For information about check runs, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checkrun) or "[Check Runs](https://docs.github.com/enterprise-server@3.13/rest/checks/runs)" in the REST API documentation. - * - * For activity relating to check suites, use the `check-suite` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories. - * - * > [!NOTE] - * > The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload. - */ "check-run/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56164,6 +59060,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56173,25 +59071,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.13/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * > [!NOTE] - * > The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description All check runs in a check suite have completed, and a conclusion is available. - */ "check-suite/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56212,6 +59101,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56221,25 +59112,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.13/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * > [!NOTE] - * > The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.13/graphql/reference/mutations#createcheckrun) or "[Create a check run](https://docs.github.com/enterprise-server@3.13/rest/checks/runs#create-a-check-run)" in the REST API documentation. - */ "check-suite/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56260,6 +59142,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56269,25 +59153,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a check suite. For information about check suites, see "[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api)." For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checksuite) or "[Check Suites](https://docs.github.com/enterprise-server@3.13/rest/checks/suites)" in the REST API documentation. - * - * For activity relating to check runs, use the `check_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event. - * - * Repository and organization webhooks only receive payloads for the `completed` event types in repositories. - * - * > [!NOTE] - * > The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - * @description Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.13/graphql/reference/mutations#createchecksuite) or "[Create a check suite](https://docs.github.com/enterprise-server@3.13/rest/checks/suites#create-a-check-suite)" in the REST API documentation. - */ "check-suite/rerequested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56308,6 +59183,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56317,18 +59194,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert. - */ "code-scanning-alert/appeared-in-branch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56349,6 +59224,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56358,18 +59235,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone closed a code scanning alert. - */ "code-scanning-alert/closed-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56390,6 +59265,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56399,18 +59276,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was created in a repository. - */ "code-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56431,6 +59306,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56440,18 +59317,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A code scanning alert was fixed in a branch by a commit. - */ "code-scanning-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56472,6 +59347,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56481,18 +59358,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description A previously fixed code scanning alert reappeared in a branch. - */ "code-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56513,6 +59388,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56522,18 +59399,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)" and "[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)." For information about the API to manage code scanning, see "[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission. - * @description Someone reopened a code scanning alert. - */ "code-scanning-alert/reopened-by-user": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56554,6 +59429,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56563,20 +59440,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to commit comments. For more information about commit comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request)." For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#commitcomment) or "[Commit comments](https://docs.github.com/enterprise-server@3.13/rest/commits/comments)" in the REST API documentation. - * - * For activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description Someone commented on a commit. - */ "commit-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56597,6 +59470,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56606,21 +59481,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is created. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * **Notes**: - * - This event will not occur when more than three tags are created at once. - * - Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery. - */ create: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56641,6 +59511,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56650,21 +59522,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including - * branch and tag deletions, use the [`push`](#push) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * > [!NOTE] - * > This event will not occur when more than three tags are deleted at once. - */ delete: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56685,6 +59552,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56694,23 +59563,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was automatically closed by a Dependabot auto-triage rule. - */ "dependabot-alert/auto-dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56731,6 +59593,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56740,23 +59604,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed. - */ "dependabot-alert/auto-reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56777,6 +59634,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56786,23 +59645,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. - */ "dependabot-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56823,6 +59675,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56832,23 +59686,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually closed. - */ "dependabot-alert/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56869,6 +59716,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56878,23 +59727,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change removed a vulnerability. - */ "dependabot-alert/fixed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56915,6 +59757,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56924,23 +59768,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. - */ "dependabot-alert/reintroduced": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -56961,6 +59798,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -56970,23 +59809,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to Dependabot alerts. - * - * For more information about Dependabot alerts, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." For information about the API to manage Dependabot alerts, see "[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. - * - * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. - * @description A Dependabot alert was manually reopened. - */ "dependabot-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57007,6 +59839,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57016,18 +59850,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.13/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.13/rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was created. - */ "deploy-key/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57048,6 +59880,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57057,18 +59891,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deploy keys. For more information, see "[Managing deploy keys](https://docs.github.com/enterprise-server@3.13/developers/overview/managing-deploy-keys)." For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deploykey) or "[Deploy keys](https://docs.github.com/enterprise-server@3.13/rest/deploy-keys)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deploy key was deleted. - */ "deploy-key/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57089,6 +59921,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57098,20 +59932,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployments. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment status, use the `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment was created. - */ "deployment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57132,6 +59962,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57141,18 +59973,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment protection rules. For more information, see "[Using environments for deployment](https://docs.github.com/enterprise-server@3.13/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules)." For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.13/rest/deployments/environments). - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment protection rule was requested for an environment. - */ "deployment-protection-rule/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57173,6 +60003,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57182,20 +60014,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was approved. - */ "deployment-review/approved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57216,6 +60044,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57225,20 +60055,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was rejected. - */ "deployment-review/rejected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57259,6 +60085,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57268,20 +60096,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment reviews. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * @description A deployment review was requested. - */ "deployment-review/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57302,6 +60126,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57311,23 +60137,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to deployment statuses. For more information, see "[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments)." For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or "[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)" in the REST API documentation. - * - * For activity relating to deployment creation, use the `deployment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission. - * - * > [!NOTE] - * > A webhook event is not fired for deployment statuses with an `inactive` state. - * @description A new deployment status was created. - */ "deployment-status/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57348,6 +60167,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57357,23 +60178,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was marked as the answer. - */ "discussion/answered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57394,6 +60208,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57403,23 +60219,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The category of a discussion was changed. - */ "discussion/category-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57440,6 +60249,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57449,23 +60260,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was closed. - */ "discussion/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57486,6 +60290,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57495,23 +60301,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was created. - */ "discussion-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57532,6 +60331,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57541,23 +60342,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was deleted. - */ "discussion-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57578,6 +60372,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57587,23 +60383,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on a discussion was edited. - */ "discussion-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57624,6 +60413,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57633,23 +60424,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was created. - */ "discussion/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57670,6 +60454,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57679,23 +60465,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was deleted. - */ "discussion/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57716,6 +60495,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57725,23 +60506,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description The title or body on a discussion was edited, or the category of the discussion was changed. - */ "discussion/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57762,6 +60536,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57771,23 +60547,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was added to a discussion. - */ "discussion/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57808,6 +60577,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57817,23 +60588,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was locked. - */ "discussion/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57854,6 +60618,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57863,23 +60629,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was pinned. - */ "discussion/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57900,6 +60659,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57909,23 +60670,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was reopened. - */ "discussion/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57946,6 +60700,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -57955,23 +60711,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was transferred to another repository. - */ "discussion/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -57992,6 +60741,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58001,23 +60752,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A comment on the discussion was unmarked as the answer. - */ "discussion/unanswered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58038,6 +60782,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58047,23 +60793,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A label was removed from a discussion. - */ "discussion/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58084,6 +60823,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58093,23 +60834,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unlocked. - */ "discussion/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58130,6 +60864,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58139,23 +60875,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a discussion. For more information about discussions, see "[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions)." For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion). - * - * For activity relating to a comment on a discussion, use the `discussion_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. - * - * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. - * @description A discussion was unpinned. - */ "discussion/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58176,6 +60905,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58185,16 +60916,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.13/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." - * @description Anonymous Git read access was disabled. - */ "enterprise/anonymous-access-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58215,6 +60946,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58224,16 +60957,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.13/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)." - * @description Anonymous Git read access was enabled. - */ "enterprise/anonymous-access-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58254,6 +60987,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58263,17 +60998,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone forks a repository. For more information, see "[Fork a repo](https://docs.github.com/enterprise-server@3.13/get-started/quickstart/fork-a-repo)." For information about the API to manage forks, see "[Forks](https://docs.github.com/enterprise-server@3.13/rest/repos/forks)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ fork: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58294,6 +61028,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58303,20 +61039,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a user revokes their authorization of a GitHub App. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. - * - * A GitHub App receives this webhook by default and cannot unsubscribe from this event. - * - * Anyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see "[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.13/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)." - * @description Someone revoked their authorization of a GitHub App. - */ "github-app-authorization/revoked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58337,6 +61069,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58346,17 +61080,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when someone creates or updates a wiki page. For more information, see "[About wikis](https://docs.github.com/enterprise-server@3.13/communities/documenting-your-project-with-wikis/about-wikis)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ gollum: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58377,6 +61110,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58386,18 +61121,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. - * @description Someone installed a GitHub App on a user or organization account. - */ "installation/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58418,6 +61151,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58427,18 +61162,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. - * @description Someone uninstalled a GitHub App from their user or organization account. - */ "installation/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58459,6 +61192,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58468,18 +61203,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. - * @description Someone granted new permissions to a GitHub App. - */ "installation/new-permissions-accepted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58500,6 +61233,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58509,18 +61244,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. - * @description A GitHub App installation was granted access to one or more repositories. - */ "installation-repositories/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58541,6 +61274,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58550,18 +61285,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. - * @description Access to one or more repositories was revoked for a GitHub App installation. - */ "installation-repositories/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58582,6 +61315,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58591,18 +61326,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. - * @description Someone blocked access by a GitHub App to their user or organization account. - */ "installation/suspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58623,6 +61356,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58632,16 +61367,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. - * @description Somebody renamed the user or organization account that a GitHub App is installed on. - */ "installation-target/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58662,6 +61397,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58671,18 +61408,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event. - * - * For more information about GitHub Apps, see "[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps)." For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or "[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)" in the REST API documentation. - * @description A GitHub App that was blocked from accessing a user or organization account was given access the account again. - */ "installation/unsuspend": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58703,6 +61438,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58712,20 +61449,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.13/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.13/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was created. - */ "issue-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58746,6 +61479,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58755,20 +61490,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.13/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.13/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was deleted. - */ "issue-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58789,6 +61520,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58798,20 +61531,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)" and "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issuecomment) or "[Issue comments](https://docs.github.com/enterprise-server@3.13/rest/issues/comments)" in the REST API documentation. - * - * For activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see "[Working with comments](https://docs.github.com/enterprise-server@3.13/rest/guides/working-with-comments)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A comment on an issue or pull request was edited. - */ "issue-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58832,6 +61561,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58841,20 +61572,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was assigned to a user. - */ "issues/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58875,6 +61602,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58884,20 +61613,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was closed. - */ "issues/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58918,6 +61643,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58927,20 +61654,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was deleted. - */ "issues/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -58961,6 +61684,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -58970,20 +61695,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was removed from a milestone. - */ "issues/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59004,6 +61725,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59013,20 +61736,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description The title or body on an issue was edited. - */ "issues/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59047,6 +61766,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59056,20 +61777,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was added to an issue. - */ "issues/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59090,6 +61807,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59099,20 +61818,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.13/communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59133,6 +61848,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59142,20 +61859,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was added to a milestone. - */ "issues/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59176,6 +61889,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59185,20 +61900,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was created. When a closed issue is reopened, the action will be `reopened` instead. - */ "issues/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59219,6 +61930,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59228,20 +61941,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was pinned to a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/pinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59262,6 +61971,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59271,20 +61982,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A closed issue was reopened. - */ "issues/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59305,6 +62012,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59314,20 +62023,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was transferred to another repository. For more information, see "[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." - */ "issues/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59348,6 +62053,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59357,20 +62064,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A user was unassigned from an issue. - */ "issues/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59391,6 +62094,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59400,20 +62105,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description A label was removed from an issue. - */ "issues/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59434,6 +62135,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59443,20 +62146,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description Conversation on an issue was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.13/communities/moderating-comments-and-conversations/locking-conversations)." - */ "issues/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59477,6 +62176,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59486,20 +62187,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)" in the REST API documentation. - * - * For activity relating to a comment on an issue, use the `issue_comment` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - * @description An issue was unpinned from a repository. For more information, see "[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - */ "issues/unpinned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59520,6 +62217,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59529,20 +62228,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.13/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was created. - */ "label/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59563,6 +62258,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59572,20 +62269,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.13/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label was deleted. - */ "label/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59606,6 +62299,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59615,20 +62310,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to labels. For more information, see "[Managing labels](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#label) or "[Labels](https://docs.github.com/enterprise-server@3.13/rest/issues/labels)" in the REST API documentation. - * - * If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A label's name, description, or color was changed. - */ "label/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59649,6 +62340,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59658,18 +62351,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A GitHub user accepted an invitation to a repository. - */ "member/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59690,6 +62381,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59699,18 +62392,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description Permissions were changed for a collaborator on a repository. - */ "member/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59731,6 +62422,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59740,18 +62433,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to collaborators in a repository. For more information, see "[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)." For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositorycollaboratorconnection) or "[Collaborators](https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A collaborator was removed from a repository. - */ "member/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59772,6 +62463,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59781,18 +62474,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.13/rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was added to a team. - */ "membership/added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59813,6 +62504,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59822,18 +62515,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to team membership. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#team) or "[Team members](https://docs.github.com/enterprise-server@3.13/rest/teams/members)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization member was removed from a team. - */ "membership/removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59854,6 +62545,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59863,18 +62556,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a webhook itself. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission. - * @description The webhook was deleted. - */ "meta/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59895,6 +62586,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59904,20 +62597,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was closed. - */ "milestone/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59938,6 +62627,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59947,20 +62638,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was created. - */ "milestone/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -59981,6 +62668,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -59990,20 +62679,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was deleted. - */ "milestone/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60024,6 +62709,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60033,20 +62720,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was edited. - */ "milestone/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60067,6 +62750,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60076,20 +62761,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to milestones. For more information, see "[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or "[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)" in the REST API documentation. - * - * If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions. - * @description A milestone was opened. - */ "milestone/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60110,6 +62791,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60119,20 +62802,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description An organization was deleted. - */ "organization/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60153,6 +62832,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60162,20 +62843,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member accepted an invitation to join an organization. - */ "organization/member-added": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60196,6 +62873,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60205,20 +62884,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was invited to join the organization. - */ "organization/member-invited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60239,6 +62914,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60248,20 +62925,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A member was removed from the organization. - */ "organization/member-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60282,6 +62955,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60291,20 +62966,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization and its members. For more information, see "[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations)." For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or "[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)" in the REST API documentation. - * - * If you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name of an organization was changed. - */ "organization/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60325,6 +62996,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60334,18 +63007,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.13/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A package was published to a registry. - */ "package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60366,6 +63037,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60375,18 +63048,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.13/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * @description A previously published package was updated. - */ "package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60407,6 +63078,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60416,17 +63089,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.13/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." For information about the API to manage GitHub Pages, see "[Pages](https://docs.github.com/enterprise-server@3.13/rest/pages)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission. - */ "page-build": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60447,6 +63119,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60456,21 +63130,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * > [!NOTE] - * > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was approved. - */ "personal-access-token-request/approved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60487,6 +63156,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60496,21 +63167,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * > [!NOTE] - * > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was cancelled by the requester. - */ "personal-access-token-request/cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60527,6 +63193,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60536,21 +63204,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * > [!NOTE] - * > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was created. - */ "personal-access-token-request/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60567,6 +63230,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60576,21 +63241,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - * - * > [!NOTE] - * > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. - * @description A fine-grained personal access token request was denied. - */ "personal-access-token-request/denied": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60607,6 +63267,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60616,13 +63278,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly. */ ping: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60643,6 +63308,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60652,22 +63319,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note in a project (classic) was converted to an issue. - */ "project-card/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60688,6 +63349,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60697,22 +63360,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card was added to a project (classic). - */ "project-card/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60733,6 +63390,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60742,22 +63401,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a project (classic) was deleted. - */ "project-card/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60778,6 +63431,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60787,22 +63442,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A note on a project (classic) was edited. - */ "project-card/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60823,6 +63472,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60832,22 +63483,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a card on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A card on a project (classic) was moved to another column or to another position in its column. - */ "project-card/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60868,6 +63513,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60877,22 +63524,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A project (classic) was closed. - */ "project/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60913,6 +63554,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60922,22 +63565,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was added to a project (classic). - */ "project-column/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -60958,6 +63595,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -60967,22 +63606,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was deleted from a project (classic). - */ "project-column/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61003,6 +63636,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61012,22 +63647,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name of a column on a project (classic) was changed. - */ "project-column/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61048,6 +63677,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61057,22 +63688,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a column on a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. - * - * For activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A column was moved to a new position on a project (classic). - */ "project-column/moved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61093,6 +63718,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61102,22 +63729,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A project (classic) was created. - */ "project/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61138,6 +63759,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61147,22 +63770,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A project (classic) was deleted. - */ "project/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61183,6 +63800,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61192,22 +63811,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description The name or description of a project (classic) was changed. - */ "project/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61228,6 +63841,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61237,22 +63852,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a project (classic). For more information, see "[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)." For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or "[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)" in the REST API documentation. - * - * For activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event. - * - * This event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission. - * @description A project (classic) was closed. - */ "project/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61273,6 +63882,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61282,23 +63893,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was closed. - */ "projects-v2/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61319,6 +63923,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61328,23 +63934,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was created. - */ "projects-v2/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61365,6 +63964,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61374,23 +63975,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was deleted. - */ "projects-v2/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61411,6 +64005,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61420,23 +64016,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The title, description, or README of a project in the organization was changed. - */ "projects-v2/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61457,6 +64046,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61466,23 +64057,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - */ "projects-v2-item/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61503,6 +64087,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61512,23 +64098,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A draft issue in an organization project was converted to an issue. - */ "projects-v2-item/converted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61549,6 +64128,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61558,23 +64139,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item was added to a project in the organization. - */ "projects-v2-item/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61595,6 +64169,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61604,23 +64180,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An item was deleted from a project in the organization. - */ "projects-v2-item/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61641,6 +64210,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61650,23 +64221,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. - */ "projects-v2-item/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61687,6 +64251,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61696,23 +64262,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. - */ "projects-v2-item/reordered": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61733,6 +64292,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61742,23 +64303,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an item on an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item). - * - * For activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." - */ "projects-v2-item/restored": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61779,6 +64333,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61788,23 +64344,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to an organization-level project. For more information, see "[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2). - * - * For activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. - * - * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). - * @description A project in the organization was reopened. - */ "projects-v2/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61825,6 +64374,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61834,17 +64385,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when repository visibility changes from private to public. For more information, see "[Setting repository visibility](https://docs.github.com/enterprise-server@3.13/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - */ public: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61865,6 +64415,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61874,20 +64426,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was assigned to a user. - */ "pull-request/assigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61908,6 +64456,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61917,20 +64467,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was disabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61951,6 +64497,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -61960,20 +64508,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Auto merge was enabled for a pull request. For more information, see "[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)." - */ "pull-request/auto-merge-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -61994,6 +64538,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62003,20 +64549,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged. - */ "pull-request/closed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62037,6 +64579,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62046,20 +64590,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was converted to a draft. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/converted-to-draft": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62080,6 +64620,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62089,20 +64631,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was removed from a milestone. - */ "pull-request/demilestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62123,6 +64661,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62132,20 +64672,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The title or body of a pull request was edited, or the base branch of a pull request was changed. - */ "pull-request/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62166,6 +64702,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62175,20 +64713,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was added to a pull request. - */ "pull-request/labeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62209,6 +64743,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62218,20 +64754,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was locked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.13/communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/locked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62252,6 +64784,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62261,20 +64795,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was added to a milestone. - */ "pull-request/milestoned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62295,6 +64825,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62304,20 +64836,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request was created - */ "pull-request/opened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62338,6 +64866,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62347,20 +64877,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A draft pull request was marked as ready for review. For more information, see "[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request)." - */ "pull-request/ready-for-review": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62381,6 +64907,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62390,20 +64918,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously closed pull request was reopened. - */ "pull-request/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62424,6 +64948,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62433,20 +64959,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was created. - */ "pull-request-review-comment/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62467,6 +64989,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62476,20 +65000,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment on a pull request diff was deleted. - */ "pull-request-review-comment/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62510,6 +65030,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62519,20 +65041,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)." For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewcomment) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The content of a comment on a pull request diff was changed. - */ "pull-request-review-comment/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62553,6 +65071,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62562,20 +65082,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was dismissed. - */ "pull-request-review/dismissed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62596,6 +65112,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62605,20 +65123,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description The body comment on a pull request review was edited. - */ "pull-request-review/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62639,6 +65153,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62648,20 +65164,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A request for review by a person or team was removed from a pull request. - */ "pull-request/review-request-removed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62682,6 +65194,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62691,20 +65205,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Review by a person or team was requested for a pull request. For more information, see "[Requesting a pull request review](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review)." - */ "pull-request/review-requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62725,6 +65235,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62734,20 +65246,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreview) or "[Pull request reviews](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A review on a pull request was submitted. - */ "pull-request-review/submitted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62768,6 +65276,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62777,20 +65287,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A comment thread on a pull request was marked as resolved. - */ "pull-request-review-thread/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62811,6 +65317,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62820,20 +65328,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)." For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewthread) or "[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)" in the REST API documentation. - * - * For activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A previously resolved comment thread on a pull request was marked as unresolved. - */ "pull-request-review-thread/unresolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62854,6 +65358,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62863,20 +65369,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch. - */ "pull-request/synchronize": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62897,6 +65399,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62906,20 +65410,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A user was unassigned from a pull request. - */ "pull-request/unassigned": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62940,6 +65440,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62949,20 +65451,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description A label was removed from a pull request. - */ "pull-request/unlabeled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -62983,6 +65481,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -62992,20 +65492,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity on a pull request. For more information, see "[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)." For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or "[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)" in the REST API documentation. - * - * For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission. - * @description Conversation on a pull request was unlocked. For more information, see "[Locking conversations](https://docs.github.com/enterprise-server@3.13/communities/moderating-comments-and-conversations/locking-conversations)." - */ "pull-request/unlocked": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63026,6 +65522,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63035,22 +65533,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, - * when a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch - * and tag deletions, use the [`delete`](#delete) webhook event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * - * > [!NOTE] - * > Events will not be created if more than 5000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once. - */ push: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63071,6 +65563,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63080,21 +65574,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.13/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * > [!NOTE] - * > GitHub recommends that you use the newer `package` event instead. - * @description A package was published to a registry. - */ "registry-package/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63115,6 +65604,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63124,21 +65615,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to GitHub Packages. For more information, see "[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/introduction-to-github-packages)." For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#package) or "[Packages](https://docs.github.com/enterprise-server@3.13/rest/packages)" in the REST API documentation. - * - * To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission. - * - * > [!NOTE] - * > GitHub recommends that you use the newer `package` event instead. - * @description A package that was previously published to a registry was updated. - */ "registry-package/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63159,6 +65645,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63168,18 +65656,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A draft was saved, or a release or pre-release was published without previously being saved as a draft. - */ "release/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63200,6 +65686,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63209,18 +65697,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft release was deleted. - */ "release/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63241,6 +65727,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63250,18 +65738,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description The details of a release, pre-release, or draft release were edited. For more information, see "[Managing releases in a repository](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release)." - */ "release/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63282,6 +65768,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63291,18 +65779,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable. - */ "release/prereleased": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63323,6 +65809,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63332,18 +65820,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release, pre-release, or draft of a release was published. - */ "release/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63364,6 +65850,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63373,18 +65861,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release was published, or a pre-release was changed to a release. - */ "release/released": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63405,6 +65891,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63414,18 +65902,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to releases. For more information, see "[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases)." For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or "[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - * @description A release or pre-release was unpublished. - */ "release/unpublished": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63446,6 +65932,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63455,18 +65943,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone disabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." - */ "repository/anonymous-access-disabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63487,6 +65973,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63496,18 +65984,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone enabled anonymous Git read access to the repository. For more information, see "[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository)." - */ "repository/anonymous-access-enabled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63528,6 +66014,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63537,18 +66025,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was archived. - */ "repository/archived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63569,6 +66055,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63578,18 +66066,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was created. - */ "repository/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63610,6 +66096,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63619,18 +66107,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A repository was deleted. GitHub Apps and repository webhooks will not receive this event. - */ "repository/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63651,6 +66137,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63660,17 +66148,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.13/rest/repos/repos#create-a-repository-dispatch-event). In the payload, the `action` will be the `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ "repository-dispatch/sample.collected": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63691,6 +66178,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63700,18 +66189,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The topics, default branch, description, or homepage of a repository was changed. - */ "repository/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63732,6 +66219,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63741,18 +66230,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `private`. - */ "repository/privatized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63773,6 +66260,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63782,18 +66271,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The visibility of a repository was changed to `public`. - */ "repository/publicized": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63814,6 +66301,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63823,18 +66312,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description The name of a repository was changed. - */ "repository/renamed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63855,6 +66342,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63864,20 +66353,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.13/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.13/rest/orgs/rules) in the REST API documentation." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. - * @description A repository ruleset was created. - */ "repository-ruleset/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63894,6 +66379,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63903,20 +66390,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.13/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.13/rest/orgs/rules) in the REST API documentation." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. - * @description A repository ruleset was deleted. - */ "repository-ruleset/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63933,6 +66416,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63942,20 +66427,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository rulesets. - * For more information about repository rulesets, see "[Managing rulesets](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets)." - * For more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or "[Repository rules](https://docs.github.com/enterprise-server@3.13/rest/repos/rules)" and "[Organization rules](https://docs.github.com/enterprise-server@3.13/rest/orgs/rules) in the REST API documentation." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository or organization permission. - * @description A repository ruleset was edited. - */ "repository-ruleset/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -63972,6 +66453,8 @@ export interface operations { /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ "X-Hub-Signature-256": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -63981,18 +66464,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to "Repository" events. - */ "repository/transferred": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64013,6 +66494,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64022,18 +66505,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repositories. For more information, see "[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories)." For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or "[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description A previously archived repository was unarchived. - */ "repository/unarchived": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64054,6 +66535,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64063,19 +66546,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * > [!WARNING] - * > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was created. - */ "repository-vulnerability-alert/create": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64096,6 +66576,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64105,19 +66587,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * > [!WARNING] - * > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was dismissed. - */ "repository-vulnerability-alert/dismiss": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64138,6 +66617,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64147,19 +66628,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * > [!WARNING] - * > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. - * @description A previously dismissed or resolved repository vulnerability alert was reopened. - */ "repository-vulnerability-alert/reopen": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64180,6 +66658,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64189,19 +66669,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a security vulnerability alert in a repository. - * - * > [!WARNING] - * > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. - * @description A repository vulnerability alert was marked as resolved. - */ "repository-vulnerability-alert/resolve": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64222,6 +66699,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64231,20 +66710,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was created. - */ "secret-scanning-alert/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64265,6 +66740,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64274,22 +66751,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to the locations of a secret in a secret scanning alert. - * - * For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alerts, use the `secret_scanning_alert` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert. - */ "secret-scanning-alert-location/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64310,6 +66781,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64319,20 +66792,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A previously closed secret scanning alert was reopened. - */ "secret-scanning-alert/reopened": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64353,6 +66822,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64362,20 +66833,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was closed. - */ "secret-scanning-alert/resolved": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64396,6 +66863,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64405,20 +66874,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)" in the REST API documentation. - * - * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - * @description A secret scanning alert was validated. - */ "secret-scanning-alert/validated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64439,6 +66904,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64448,18 +66915,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/enterprise-server@3.13/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.13/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description A security advisory was published to the GitHub community. - */ "security-advisory/published": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64480,6 +66945,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64489,18 +66956,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/enterprise-server@3.13/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.13/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description The metadata or description of a security advisory was changed. - */ "security-advisory/updated": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64521,6 +66986,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64530,18 +66997,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/enterprise-server@3.13/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.13/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#securityadvisory). - * - * GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - * @description A previously published security advisory was withdrawn. - */ "security-advisory/withdrawn": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64562,6 +67027,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64571,17 +67038,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/enterprise-server@3.13/code-security/getting-started/github-security-features)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - */ "security-and-analysis": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64602,6 +67068,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64611,20 +67079,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsorship was cancelled and the last billing cycle has ended. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/cancelled": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64645,6 +67109,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64654,18 +67120,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed. - */ "sponsorship/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64686,6 +67150,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64695,18 +67161,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs. - */ "sponsorship/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64727,6 +67191,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64736,20 +67202,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date. - * - * This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships. - */ "sponsorship/pending-cancellation": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64770,6 +67232,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64779,18 +67243,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date. - */ "sponsorship/pending-tier-change": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64811,6 +67273,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64820,18 +67284,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a sponsorship listing. For more information, see "[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors)." For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship). - * - * You can only create a sponsorship webhook on GitHub.com. For more information, see "[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)." - * @description A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle. - */ "sponsorship/tier-changed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64852,6 +67314,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64861,18 +67325,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.13/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.13/rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone starred a repository. - */ "star/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64893,6 +67355,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64902,18 +67366,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to repository stars. For more information about stars, see "[Saving repositories with stars](https://docs.github.com/enterprise-server@3.13/get-started/exploring-projects-on-github/saving-repositories-with-stars)." For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#starredrepositoryconnection) or "[Starring](https://docs.github.com/enterprise-server@3.13/rest/activity/starring)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone unstarred the repository. - */ "star/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64934,6 +67396,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64943,17 +67407,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see "[About status checks](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks)." For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#status) or "[Commit statuses](https://docs.github.com/enterprise-server@3.13/rest/commits/statuses)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission. - */ status: { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -64974,6 +67437,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -64983,20 +67448,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a team is added to a repository. - * For more information, see "[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.13/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)." - * - * For activity relating to teams, see the `teams` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - */ "team-add": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65017,6 +67478,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65026,19 +67489,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was granted access to a repository. - */ "team/added-to-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65059,6 +67519,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65068,19 +67530,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was created. - */ "team/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65101,6 +67560,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65110,19 +67571,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team was deleted. - */ "team/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65143,6 +67601,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65152,19 +67612,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description The name, description, or visibility of a team was changed. - */ "team/edited": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65185,6 +67642,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65194,19 +67653,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to teams in an organization. - * For more information, see "[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams)." - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission. - * @description A team's access to a repository was removed. - */ "team/removed-from-repository": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65227,6 +67683,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65236,16 +67694,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to user accounts in an enterprise. - * @description A user account was added to the enterprise. - */ "user/created": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65266,6 +67724,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65275,16 +67735,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to user accounts in an enterprise. - * @description A user account was removed from the enterprise. - */ "user/deleted": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65305,6 +67765,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65314,18 +67776,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "[Managing your subscriptions](https://docs.github.com/enterprise-server@3.13/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions)." For information about the APIs to manage watching, see "[Watching](https://docs.github.com/enterprise-server@3.13/rest/activity/watching)" in the REST API documentation. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission. - * @description Someone started watching the repository. - */ "watch/started": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65346,6 +67806,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65355,19 +67817,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "[Manually running a workflow](https://docs.github.com/enterprise-server@3.13/actions/managing-workflow-runs/manually-running-a-workflow)." - * - * For activity relating to workflow runs, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission. - */ "workflow-dispatch": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65388,6 +67847,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65397,20 +67858,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.13/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful. - */ "workflow-job/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65431,6 +67888,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65440,20 +67899,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.13/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run started processing on a runner. - */ "workflow-job/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65474,6 +67929,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65483,20 +67940,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.13/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run was created. - */ "workflow-job/queued": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65517,6 +67970,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65526,20 +67981,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.13/actions/using-jobs/using-jobs-in-a-workflow)." For information about the API to manage workflow jobs, see "[Workflow jobs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs)" in the REST API documentation. - * - * For activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A job in a workflow run was created and is waiting for approvals. - */ "workflow-job/waiting": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65560,6 +68011,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65569,20 +68022,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.13/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful. - */ "workflow-run/completed": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65603,6 +68052,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65612,20 +68063,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.13/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run started processing on a runner. - */ "workflow-run/in-progress": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65646,6 +68093,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65655,20 +68104,16 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; - /** - * This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "[About workflows](https://docs.github.com/enterprise-server@3.13/actions/using-workflows/about-workflows)." For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#workflowrun) or "[Workflow runs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs)" in the REST API documentation. - * - * For activity relating to a job in a workflow run, use the `workflow_job` event. - * - * To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission. - * @description A workflow run was triggered. - */ "workflow-run/requested": { parameters: { + query?: never; header: { /** @example GitHub-Hookshot/123abc */ "User-Agent": string; @@ -65689,6 +68134,8 @@ export interface operations { /** @example ghes.github.com */ "X-GitHub-Enterprise-Host": string; }; + path?: never; + cookie?: never; }; requestBody: { content: { @@ -65698,7 +68145,10 @@ export interface operations { responses: { /** @description Return a 200 status to indicate that the data was received successfully */ 200: { - content: never; + headers: { + [name: string]: unknown; + }; + content?: never; }; }; }; diff --git a/packages/openapi-webhooks-types-github.ae/package.json b/packages/openapi-webhooks-types-github.ae/package.json index 77fa1e9..f62761c 100644 --- a/packages/openapi-webhooks-types-github.ae/package.json +++ b/packages/openapi-webhooks-types-github.ae/package.json @@ -3,7 +3,7 @@ "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for github.ae", "repository": { "type": "git", - "url": "https://github.com/octokit/openapi-webhooks.git", + "url": "git+https://github.com/octokit/openapi-webhooks.git", "directory": "packages/openapi-webhooks-types-github.ae" }, "publishConfig": {